Class GetJobDetailsHandler
- java.lang.Object
-
- uk.gov.gchq.gaffer.store.operation.handler.job.GetJobDetailsHandler
-
- All Implemented Interfaces:
OperationHandler<GetJobDetails>,OutputOperationHandler<GetJobDetails,JobDetail>
public class GetJobDetailsHandler extends Object implements OutputOperationHandler<GetJobDetails,JobDetail>
AGetJobDetailsHandlerhandlesGetJobDetailsoperations by querying the configured store's job tracker for the required job details.
-
-
Constructor Summary
Constructors Constructor Description GetJobDetailsHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobDetaildoOperation(GetJobDetails operation, Context context, Store store)Execute the givenOutputoperation.
-
-
-
Method Detail
-
doOperation
public JobDetail doOperation(GetJobDetails operation, Context context, Store store) throws OperationException
Description copied from interface:OutputOperationHandlerExecute the givenOutputoperation.- Specified by:
doOperationin interfaceOperationHandler<GetJobDetails>- Specified by:
doOperationin interfaceOutputOperationHandler<GetJobDetails,JobDetail>- Parameters:
operation- theOutputoperation to be executedcontext- the operation chain context, containing the user who executed the operationstore- theStorethe operation should be run on- Returns:
- the output for the operation.
- Throws:
OperationException- thrown if the operation fails
-
-