Package org.apache.hop.www.jaxrs
Class WorkflowResource
- java.lang.Object
-
- org.apache.hop.www.jaxrs.WorkflowResource
-
@Path("/carte/workflow") public class WorkflowResource extends Object
-
-
Constructor Summary
Constructors Constructor Description WorkflowResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowStatusaddJob(String xml)StringgetWorkflowLog(String id)StringgetWorkflowLog(String id, int startLineNr)WorkflowStatusgetWorkflowStatus(String id)javax.ws.rs.core.ResponseremoveJob(String id)WorkflowStatusstartJob(String id)WorkflowStatusstopJob(String id)
-
-
-
Method Detail
-
getWorkflowLog
@GET @Path("/log/{id : .+}") @Produces("text/plain") public String getWorkflowLog(@PathParam("id") String id)
-
getWorkflowLog
@GET @Path("/log/{id : .+}/{logStart : .+}") @Produces("text/plain") public String getWorkflowLog(@PathParam("id") String id, @PathParam("logStart") int startLineNr)
-
getWorkflowStatus
@GET @Path("/status/{id : .+}") @Produces("application/json") public WorkflowStatus getWorkflowStatus(@PathParam("id") String id)
-
startJob
@GET @Path("/start/{id : .+}") @Produces("application/json") public WorkflowStatus startJob(@PathParam("id") String id)
-
stopJob
@GET @Path("/stop/{id : .+}") @Produces("application/json") public WorkflowStatus stopJob(@PathParam("id") String id)
-
removeJob
@GET @Path("/remove/{id : .+}") public javax.ws.rs.core.Response removeJob(@PathParam("id") String id)
-
addJob
@PUT @Path("/add") @Produces("application/json") public WorkflowStatus addJob(String xml)
-
-