Class GetAllJobDetailsHandler
- java.lang.Object
-
- uk.gov.gchq.gaffer.store.operation.handler.job.GetAllJobDetailsHandler
-
- All Implemented Interfaces:
OperationHandler<GetAllJobDetails>
,OutputOperationHandler<GetAllJobDetails,Iterable<JobDetail>>
public class GetAllJobDetailsHandler extends Object implements OutputOperationHandler<GetAllJobDetails,Iterable<JobDetail>>
AGetAllJobDetailsHandler
handlesGetAllJobDetails
operations by querying the configured store's job tracker for all job information.
-
-
Constructor Summary
Constructors Constructor Description GetAllJobDetailsHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<JobDetail>
doOperation(GetAllJobDetails operation, Context context, Store store)
Execute the givenOutput
operation.
-
-
-
Method Detail
-
doOperation
public Iterable<JobDetail> doOperation(GetAllJobDetails operation, Context context, Store store) throws OperationException
Description copied from interface:OutputOperationHandler
Execute the givenOutput
operation.- Specified by:
doOperation
in interfaceOperationHandler<GetAllJobDetails>
- Specified by:
doOperation
in interfaceOutputOperationHandler<GetAllJobDetails,Iterable<JobDetail>>
- Parameters:
operation
- theOutput
operation to be executedcontext
- the operation chain context, containing the user who executed the operationstore
- theStore
the operation should be run on- Returns:
- the output for the operation.
- Throws:
OperationException
- thrown if the operation fails
-
-