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.ValidationResult
doOperation(ValidateOperationChain operation, Context context, Store store)
Returns aValidationResult
for the supplied OperationChain.
-
-
-
Method Detail
-
doOperation
public uk.gov.gchq.koryphe.ValidationResult doOperation(ValidateOperationChain operation, Context context, Store store) throws OperationException
Returns aValidationResult
for the supplied OperationChain.- Specified by:
doOperation
in interfaceOperationHandler<ValidateOperationChain>
- Specified by:
doOperation
in interfaceOutputOperationHandler<ValidateOperationChain,uk.gov.gchq.koryphe.ValidationResult>
- 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
ValidationResult
- Throws:
OperationException
- if an error occurs handling the operation.
-
-