Package gri.tasks.remote.files

Examples of gri.tasks.remote.files.TextMemFile


   
    protected static WorkflowSubmission createFileWorkflow() {
  WorkflowSubmission wkfl = new WorkflowSubmission();
 
  JobSubmission job1 = new JobSubmission("dan.encryption.Digest.digestToHex");
  job1.setInput("file", new TextMemFile("input1.txt", "dude"));
  job1.setInput("algorithm", "MD5");
  wkfl.addJob(job1);
 
  JobSubmission job2 = new JobSubmission("dan.encryption.Digest.digestToHex");
  job2.setInput("file", new TextMemFile("input2.txt", "dude"));
  job2.setInput("algorithm", "MD5");
  wkfl.addJob(job2);
 
  return wkfl;
    }
View Full Code Here

TOP

Related Classes of gri.tasks.remote.files.TextMemFile

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.