Class JobServiceV2
- java.lang.Object
-
- uk.gov.gchq.gaffer.rest.service.v2.JobServiceV2
-
- All Implemented Interfaces:
IJobServiceV2
public class JobServiceV2 extends Object implements IJobServiceV2
An implementation ofIJobServiceV2. By default it will use a singletonGraphgenerated using theGraphFactory. All operations are simply delegated to the graph. Pre and post operation hooks are available by extending this class and implementing preOperationHook and/or postOperationHook.
-
-
Constructor Summary
Constructors Constructor Description JobServiceV2()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Responsedetails()javax.ws.rs.core.Responsedetails(String id)javax.ws.rs.core.ResponseexecuteJob(Job job)javax.ws.rs.core.ResponseexecuteJob(Operation operation)javax.ws.rs.core.Responseresults(String id)
-
-
-
Method Detail
-
executeJob
public javax.ws.rs.core.Response executeJob(Operation operation) throws OperationException
- Specified by:
executeJobin interfaceIJobServiceV2- Throws:
OperationException
-
executeJob
public javax.ws.rs.core.Response executeJob(Job job) throws OperationException
- Specified by:
executeJobin interfaceIJobServiceV2- Throws:
OperationException
-
details
public javax.ws.rs.core.Response details() throws OperationException- Specified by:
detailsin interfaceIJobServiceV2- Throws:
OperationException
-
details
public javax.ws.rs.core.Response details(String id) throws OperationException
- Specified by:
detailsin interfaceIJobServiceV2- Throws:
OperationException
-
results
public javax.ws.rs.core.Response results(String id) throws OperationException
- Specified by:
resultsin interfaceIJobServiceV2- Throws:
OperationException
-
-