Class JobService
- java.lang.Object
-
- uk.gov.gchq.gaffer.rest.service.v1.JobService
-
- All Implemented Interfaces:
IJobService
public class JobService extends Object implements IJobService
An implementation ofIJobService
. By default it will use a singletonGraph
generated 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 JobService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<JobDetail>
details()
JobDetail
details(String id)
JobDetail
executeJob(OperationChainDAO opChain)
Iterable
results(String id)
-
-
-
Method Detail
-
executeJob
public JobDetail executeJob(OperationChainDAO opChain)
- Specified by:
executeJob
in interfaceIJobService
-
details
public Iterable<JobDetail> details()
- Specified by:
details
in interfaceIJobService
-
details
public JobDetail details(String id)
- Specified by:
details
in interfaceIJobService
-
results
public Iterable results(String id)
- Specified by:
results
in interfaceIJobService
-
-