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 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

      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