Class ValidateOperationChainHandler
- java.lang.Object
-
- uk.gov.gchq.gaffer.store.operation.handler.ValidateOperationChainHandler
-
- All Implemented Interfaces:
OperationHandler<ValidateOperationChain>,OutputOperationHandler<ValidateOperationChain,uk.gov.gchq.koryphe.ValidationResult>
public class ValidateOperationChainHandler extends Object implements OutputOperationHandler<ValidateOperationChain,uk.gov.gchq.koryphe.ValidationResult>
Operation Handler for ValidateOperationChain
-
-
Constructor Summary
Constructors Constructor Description ValidateOperationChainHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description uk.gov.gchq.koryphe.ValidationResultdoOperation(ValidateOperationChain operation, Context context, Store store)Returns aValidationResultfor the supplied OperationChain.
-
-
-
Method Detail
-
doOperation
public uk.gov.gchq.koryphe.ValidationResult doOperation(ValidateOperationChain operation, Context context, Store store) throws OperationException
Returns aValidationResultfor the supplied OperationChain.- Specified by:
doOperationin interfaceOperationHandler<ValidateOperationChain>- Specified by:
doOperationin interfaceOutputOperationHandler<ValidateOperationChain,uk.gov.gchq.koryphe.ValidationResult>- 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
ValidationResult - Throws:
OperationException- if an error occurs handling the operation.
-
-