public class ValidateOperationChainHandler extends Object implements OutputOperationHandler<ValidateOperationChain,uk.gov.gchq.koryphe.ValidationResult>
Constructor and Description |
---|
ValidateOperationChainHandler() |
Modifier and Type | Method and Description |
---|---|
uk.gov.gchq.koryphe.ValidationResult |
doOperation(ValidateOperationChain operation,
Context context,
Store store)
Returns a
ValidationResult for the supplied OperationChain. |
public uk.gov.gchq.koryphe.ValidationResult doOperation(ValidateOperationChain operation, Context context, Store store) throws OperationException
ValidationResult
for the supplied OperationChain.doOperation
in interface OperationHandler<ValidateOperationChain>
doOperation
in interface OutputOperationHandler<ValidateOperationChain,uk.gov.gchq.koryphe.ValidationResult>
operation
- the Output
operation to be executedcontext
- the operation chain context, containing the user who executed the operationstore
- the Store
the operation should be run onValidationResult
OperationException
- if an error occurs handling the operation.Copyright © 2022. All rights reserved.