Class Scenarios
java.lang.Object
org.palladiosimulator.protocom.framework.java.ee.api.http.Scenarios
API class for retrieving usage scenario data.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
Gets the JXM file of the specified usage scenario.javax.ws.rs.core.Response
Gets all usage scenarios.
-
Constructor Details
-
Scenarios
public Scenarios()
-
-
Method Details
-
getScenarios
public javax.ws.rs.core.Response getScenarios()Gets all usage scenarios.- Returns:
- a JSON array containing information about all usage scenarios
-
downloadScenario
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
-