Package gri.tasks.workflows

Examples of gri.tasks.workflows.Workflow


  }

  public Map getWorkflowOutputs(String wkflId, String jobId) throws UnknownWorkflowException, UnknownJobException {
    WorkflowEntry entry = getWorkflowEntry(wkflId);

    Workflow wkfl = entry.getWorkflow();
    TaskStub task = wkfl.getTask(jobId);
   
    return task.getOutputs();
  }
View Full Code Here


  /**
   * Loads the TaskStubs into a Workflow object.  This can then
   * be run by a WorkflowRunner.
   */
  public Workflow createWorkflow() {
    Workflow wkfl = new Workflow();
    wkfl.addAll(taskStubs);
    return wkfl;
  }
View Full Code Here

  protected void runWorkflow() {
   
    WorkflowInputModel model = pnlInput.getWorkflow();
   
    Workflow wkfl = model.createWorkflow();
    WorkflowRunner wkflRunner = model.createWorkflowRunner();
     
    try {
      wkflRunner.run(wkfl);
    }
View Full Code Here

TOP

Related Classes of gri.tasks.workflows.Workflow

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.