Interface IJobServiceV2
-
- All Known Implementing Classes:
JobServiceV2
@Path("/graph/jobs") @Produces("application/json") @Consumes("application/json") public interface IJobServiceV2
AnIJobService
handles jobs - executing Jobs and getting Job statuses.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.ws.rs.core.Response
details()
javax.ws.rs.core.Response
details(String id)
javax.ws.rs.core.Response
executeJob(Job job)
javax.ws.rs.core.Response
executeJob(Operation operation)
javax.ws.rs.core.Response
results(String id)
-
-
-
Method Detail
-
executeJob
@POST javax.ws.rs.core.Response executeJob(Operation operation) throws OperationException
- Throws:
OperationException
-
executeJob
@POST @Path("/schedule") javax.ws.rs.core.Response executeJob(Job job) throws OperationException
- Throws:
OperationException
-
details
@GET javax.ws.rs.core.Response details() throws OperationException
- Throws:
OperationException
-
details
@GET @Path("{id}") javax.ws.rs.core.Response details(@PathParam("id") String id) throws OperationException
- Throws:
OperationException
-
results
@GET @Path("{id}/results") javax.ws.rs.core.Response results(@PathParam("id") String id) throws OperationException
- Throws:
OperationException
-
-