Class Scenarios
- java.lang.Object
-
- org.palladiosimulator.protocom.framework.java.ee.api.http.Scenarios
-
public class Scenarios extends Object
API class for retrieving usage scenario data.
-
-
Constructor Summary
Constructors Constructor Description Scenarios()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
downloadScenario(String id)
Gets the JXM file of the specified usage scenario.javax.ws.rs.core.Response
getScenarios()
Gets all usage scenarios.
-
-
-
Method Detail
-
getScenarios
public javax.ws.rs.core.Response getScenarios()
Gets all usage scenarios.- Returns:
- a JSON array containing information about all usage scenarios
-
downloadScenario
public javax.ws.rs.core.Response downloadScenario(String id)
Gets the JXM file of the specified usage scenario.- Parameters:
id
- the ID of the usage scenario- Returns:
- an octet stream containing the JXM file
-
-