Class OperationChainValidator
- java.lang.Object
-
- uk.gov.gchq.gaffer.store.operation.OperationChainValidator
-
- Direct Known Subclasses:
FederatedOperationChainValidator
,FederatedOperationChainValidator
,SchemaOperationChainValidator
public class OperationChainValidator extends Object
Validation class for validatingOperationChain
s againstViewValidator
s.
-
-
Constructor Summary
Constructors Constructor Description OperationChainValidator(ViewValidator viewValidator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description uk.gov.gchq.koryphe.ValidationResult
validate(OperationChain<?> operationChain, User user, Store store)
Validate the providedOperationChain
against theViewValidator
.
-
-
-
Constructor Detail
-
OperationChainValidator
public OperationChainValidator(ViewValidator viewValidator)
-
-
Method Detail
-
validate
public uk.gov.gchq.koryphe.ValidationResult validate(OperationChain<?> operationChain, User user, Store store)
Validate the providedOperationChain
against theViewValidator
.- Parameters:
operationChain
- the operation chain to validateuser
- the user making the requeststore
- the target store- Returns:
- the
ValidationResult
-
-