@Consumes(value="application/json")
@Produces(value="application/json")
@Path(value="batchee")
public interface JBatchResource
Modifier and Type | Method and Description |
---|---|
void |
abandon(long executionId) |
RestJobExecution |
getJobExecution(long executionId) |
RestJobExecution[] |
getJobExecutions(long id,
String name) |
RestJobInstance |
getJobInstance(long executionId) |
int |
getJobInstanceCount(String jobName) |
RestJobInstance[] |
getJobInstances(String jobName,
int start,
int count) |
String[] |
getJobNames() |
RestProperties |
getParameters(long executionId) |
Long[] |
getRunningExecutions(String jobName) |
RestStepExecution[] |
getStepExecutions(long jobExecutionId) |
long |
restart(long executionId,
RestProperties restartParameters) |
long |
start(String jobXMLName,
RestProperties jobParameters) |
void |
stop(long executionId) |
@GET @Path(value="job-names") String[] getJobNames()
@GET @Path(value="job-instance/count/{name}") @Produces(value="text/plain") int getJobInstanceCount(@PathParam(value="name") String jobName)
@GET @Path(value="job-instances/{name}") RestJobInstance[] getJobInstances(@PathParam(value="name") String jobName, @QueryParam(value="start") int start, @QueryParam(value="count") int count)
@GET @Path(value="executions/running/{name}") Long[] getRunningExecutions(@PathParam(value="name") String jobName)
@GET @Path(value="execution/parameter/{id}") RestProperties getParameters(@PathParam(value="id") long executionId)
@GET @Path(value="job-instance/{id}") RestJobInstance getJobInstance(@PathParam(value="id") long executionId)
@GET @Path(value="job-executions/{id}/{name}") RestJobExecution[] getJobExecutions(@PathParam(value="id") long id, @PathParam(value="name") String name)
@GET @Path(value="job-execution/{id}") RestJobExecution getJobExecution(@PathParam(value="id") long executionId)
@GET @Path(value="step-executions/{id}") RestStepExecution[] getStepExecutions(@PathParam(value="id") long jobExecutionId)
@POST @Path(value="execution/start/{name}") @Produces(value="text/plain") long start(@PathParam(value="name") String jobXMLName, RestProperties jobParameters)
@POST @Path(value="execution/restart/{id}") @Produces(value="text/plain") long restart(@PathParam(value="id") long executionId, RestProperties restartParameters)
@HEAD @Path(value="execution/stop/{id}") void stop(@PathParam(value="id") long executionId)
@HEAD @Path(value="execution/abandon/{id}") void abandon(@PathParam(value="id") long executionId)
Copyright © 2017 The Apache Software Foundation. All rights reserved.