Class HasTraitHandler
- java.lang.Object
-
- uk.gov.gchq.gaffer.store.operation.handler.HasTraitHandler
-
- All Implemented Interfaces:
OperationHandler<HasTrait>,OutputOperationHandler<HasTrait,Boolean>
public class HasTraitHandler extends Object implements OutputOperationHandler<HasTrait,Boolean>
-
-
Constructor Summary
Constructors Constructor Description HasTraitHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleandoOperation(HasTrait operation, Context context, Store store)Execute the givenOutputoperation.
-
-
-
Method Detail
-
doOperation
public Boolean doOperation(HasTrait operation, Context context, Store store) throws OperationException
Description copied from interface:OutputOperationHandlerExecute the givenOutputoperation.- Specified by:
doOperationin interfaceOperationHandler<HasTrait>- Specified by:
doOperationin interfaceOutputOperationHandler<HasTrait,Boolean>- 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
-
-