Package com.mockey.model

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


    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

Related Classes of com.mockey.model.ScenarioRef

Copyright © 2018 www.massapicom. 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.