Package org.platformlayer.ops.tasks

Examples of org.platformlayer.ops.tasks.JobQuery


  @GET
  @Path("runs")
  @Produces({ XML, JSON })
  public JobExecutionList getExecutions() throws OpsException {
    JobQuery jobQuery = JobQuery.build(getProject(), filterTarget);

    JobExecutionList executions = jobRegistry.listRecentExecutions(jobQuery);
    return executions;
  }
View Full Code Here


  }

  @GET
  @Produces({ XML, JSON })
  public JobDataList getActiveJobs() throws OpsException {
    JobQuery jobQuery = JobQuery.build(getProject(), filterTarget);

    List<JobData> jobList = jobRegistry.listRecentJobs(jobQuery);
    JobDataList jobs = JobDataList.create();
    jobs.jobs = Lists.newArrayList();
    for (JobData jobData : jobList) {
View Full Code Here

TOP

Related Classes of org.platformlayer.ops.tasks.JobQuery

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.