Package eu.planets_project.tb.api

Examples of eu.planets_project.tb.api.TestbedManager


  /* (non-Javadoc)
   * @see eu.planets_project.tb.api.model.ExperimentExecution#getMigrationOutputData()
   */
  public Collection<URI> getMigrationOutputData() {
    Collection<URI> ret = new Vector<URI>();
    TestbedManager manager = TestbedManagerImpl.getInstance(true);
    Experiment exp = manager.getExperiment(this.lExperimentIDRef);
    if(exp!=null && exp.getExperimentExecutable().getOutputData() != null){
      //contains the experiment's execution data
      ExperimentExecutable executable = exp.getExperimentExecutable();
      if(executable!=null){
        //get the Migration's output data (as URI)
View Full Code Here


    return ret;
  }

  public Collection<String> getCharacterisationOutputData() {
    Collection<String> ret = new Vector<String>();
    TestbedManager manager = TestbedManagerImpl.getInstance(true);
    Experiment exp = manager.getExperiment(this.lExperimentIDRef);
    if(exp!=null){
      //contains the experiment's execution data
      ExperimentExecutable executable = exp.getExperimentExecutable();
      if(executable!=null){
        //get the Characterisation's output data (as URI)
View Full Code Here

 
  /* (non-Javadoc)
   * @see eu.planets_project.tb.api.model.ExperimentExecution#getExecutionStartedDate()
   */
  public Calendar getExecutionStartedDate(){
    TestbedManager manager = TestbedManagerImpl.getInstance(true);
    Experiment exp = manager.getExperiment(this.lExperimentIDRef);
    if(exp!=null){
      //contains the experiment's execution data
      ExperimentExecutable executable = exp.getExperimentExecutable();
      if(executable!=null){
        return executable.getExecutionStartDate();
View Full Code Here

  /* (non-Javadoc)
   * @see eu.planets_project.tb.api.model.ExperimentExecution#getExecutionEndedDate()
   */
  public Calendar getExecutionEndedDate(){
    TestbedManager manager = TestbedManagerImpl.getInstance(true);
    Experiment exp = manager.getExperiment(this.lExperimentIDRef);
    if(exp!=null){
      //contains the experiment's execution data
      ExperimentExecutable executable = exp.getExperimentExecutable();
      if(executable!=null){
        return executable.getExecutionEndDate();
View Full Code Here

  /* (non-Javadoc)
   * @see eu.planets_project.tb.api.model.ExperimentExecution#isExecutionInProgress()
   */
  public boolean isExecutionInvoked() {
    TestbedManager manager = TestbedManagerImpl.getInstance(true);
    Experiment exp = manager.getExperiment(this.lExperimentIDRef);
    if(exp!=null){
      //contains the experiment's execution data
      ExperimentExecutable executable = exp.getExperimentExecutable();
      if(executable!=null){
        return executable.isExecutableInvoked();
View Full Code Here

 
  /* (non-Javadoc)
   * @see eu.planets_project.tb.api.model.ExperimentExecution#isExecuted()
   */
  public boolean isExecutionCompleted() {
    TestbedManager manager = TestbedManagerImpl.getInstance(true);
    Experiment exp = manager.getExperiment(this.lExperimentIDRef);
    if(exp!=null){
      //contains the experiment's execution data
      ExperimentExecutable executable = exp.getExperimentExecutable();
      if(executable!=null){
        return executable.isExecutionCompleted();
View Full Code Here

    return false;
  }
 
 
  public boolean isExecutionSuccess() {
    TestbedManager manager = TestbedManagerImpl.getInstance(true);
    Experiment exp = manager.getExperiment(this.lExperimentIDRef);
    if(exp!=null){
      //contains the experiment's execution data
      ExperimentExecutable executable = exp.getExperimentExecutable();
      if(executable!=null){
        return executable.isExecutionSuccess();
View Full Code Here

  /* (non-Javadoc)
   * @see eu.planets_project.tb.api.model.ExperimentExecution#getSelectedTBServiceTemplate()
   */
  public TestbedServiceTemplate getSelectedTBServiceTemplate() {
    TestbedManager manager = TestbedManagerImpl.getInstance(true);
    Experiment exp = manager.getExperiment(this.lExperimentIDRef);
    if(exp!=null){
      //contains the experiment's execution data
      ExperimentExecutable executable = exp.getExperimentExecutable();
      if(executable!=null){
        return executable.getServiceTemplate();
View Full Code Here

  /* (non-Javadoc)
   * @see eu.planets_project.tb.api.model.ExperimentExecution#getselectedTBServiceTemplateOperation()
   */
  public TestbedServiceTemplate.ServiceOperation getselectedTBServiceTemplateOperation() {
    TestbedManager manager = TestbedManagerImpl.getInstance(true);
    Experiment exp = manager.getExperiment(this.lExperimentIDRef);
    if(exp!=null){
      //contains the experiment's execution data
      ExperimentExecutable executable = exp.getExperimentExecutable();
      if(executable!=null){
        String sOpName = executable.getSelectedServiceOperationName();
View Full Code Here

 
  /* (non-Javadoc)
   * @see eu.planets_project.tb.api.model.ExperimentExecution#getExperimentExecutable()
   */
  public ExperimentExecutable getExperimentExecutable() {
    TestbedManager manager = TestbedManagerImpl.getInstance(true);
    return manager.getExperiment(this.lExperimentIDRef).getExperimentExecutable();
  }
View Full Code Here

TOP

Related Classes of eu.planets_project.tb.api.TestbedManager

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.