Examples of ScenarioRef


Examples of com.mockey.model.ScenarioRef

      // Make this the default universal 'error response',
      // for all services defined in Mockey.
      v = req.getParameter("universalErrorScenario");
      if (v != null && "true".equalsIgnoreCase(v.trim())) {
        ScenarioRef scenarioRef = new ScenarioRef(scenario.getId(),
            scenario.getServiceId());
        store.setUniversalErrorScenarioRef(scenarioRef);

      } else if (store.getUniversalErrorScenario() != null) {
        store.setUniversalErrorScenarioRef(null);
View Full Code Here

Examples of com.mockey.model.ScenarioRef

    return (ServicePlan) item;

  }

  public ScenarioRef getUniversalErrorScenarioRef() {
    ScenarioRef scenarioRef = null; // new ScenarioRef();
    if (this.universalErrorScenarioId != null && this.universalErrorServiceId != null) {
      scenarioRef = new ScenarioRef(this.universalErrorScenarioId, this.universalErrorServiceId);
    }
    return scenarioRef;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.