Class JobResource

java.lang.Object
org.pentaho.di.www.jaxrs.JobResource

@Path("/carte/job") public class JobResource extends Object
  • Constructor Details

    • JobResource

      public JobResource()
  • Method Details

    • getJobLog

      @GET @Path("/log/{id : .+}") @Produces("text/plain") public String getJobLog(@PathParam("id") String id)
    • getJobLog

      @GET @Path("/log/{id : .+}/{logStart : .+}") @Produces("text/plain") public String getJobLog(@PathParam("id") String id, @PathParam("logStart") int startLineNr)
    • getJobStatus

      @GET @Path("/status/{id : .+}") @Produces("application/json") public JobStatus getJobStatus(@PathParam("id") String id)
    • startJob

      @GET @Path("/start/{id : .+}") @Produces("application/json") public JobStatus startJob(@PathParam("id") String id)
    • stopJob

      @GET @Path("/stop/{id : .+}") @Produces("application/json") public JobStatus stopJob(@PathParam("id") String id)
    • removeJob

      @GET @Path("/remove/{id : .+}") public jakarta.ws.rs.core.Response removeJob(@PathParam("id") String id)
    • addJob

      @PUT @Path("/add") @Produces("application/json") public JobStatus addJob(String xml)