Package gri.tasks.workflows

Examples of gri.tasks.workflows.TaskStubOutputReference


  TaskStub task1 = new TaskStub("0", "dan.encryption.Digest.md5");
  task1.setInput("message", "dude");
  tasks.add(task1);

  TaskStub task2 = new TaskStub("1", "dan.encryption.Digest.md5");
  task2.setInput("message", new TaskStubOutputReference(task1, "digest"));
  tasks.add(task2);
 
  submission.setInput("inputTasks", tasks);
 
 
View Full Code Here


 
    TaskStub refStub = (TaskStub)taskStubs.get(idRef.getTaskId());
    if (refStub == null)
        throw new Exception("Referenced task not found: " + idRef.getTaskId());
   
    entry.setValue(new TaskStubOutputReference(refStub, idRef.getOutputName()));
      }

  }
    }
View Full Code Here

TOP

Related Classes of gri.tasks.workflows.TaskStubOutputReference

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.