Package com.google.appengine.tools.pipeline.demo.UserGuideExamples

Examples of com.google.appengine.tools.pipeline.demo.UserGuideExamples.ComplexJob


    doComplexJobTest(-5, 71, 6);
  }

  private void doComplexJobTest(int x, int y, int z) throws Exception {
    PipelineService service = PipelineServiceFactory.newPipelineService();
    String pipelineId = service.startNewPipeline(new ComplexJob(), x, y, z);
    JobInfo jobInfo = service.getJobInfo(pipelineId);
    JobInfo.State state = jobInfo.getJobState();
    if (JobInfo.State.COMPLETED_SUCCESSFULLY == state) {
      System.out.println("The output is " + jobInfo.getOutput());
    }
View Full Code Here

TOP

Related Classes of com.google.appengine.tools.pipeline.demo.UserGuideExamples.ComplexJob

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.