@ JavaScriptMethod public JSONArray getScenarioList ( ) { JSONArray scenarioList = new JSONArray ( ) ; for ( String scenarioName : _projectResult . getScenarioResults ( ) . keySet ( ) ) { JSONObject scenario = new JSONObject ( ) ; scenario . put ( "ScenarioName" , scenarioName ) ; scenarioList . add ( scenario ) ; } return scenarioList ; }
Gets scenario list .