Class AddStorePropertiesToLibraryHandler
- java.lang.Object
-
- uk.gov.gchq.gaffer.store.operation.handler.AddStorePropertiesToLibraryHandler
-
- All Implemented Interfaces:
OperationHandler<AddStorePropertiesToLibrary>
public class AddStorePropertiesToLibraryHandler extends Object implements OperationHandler<AddStorePropertiesToLibrary>
-
-
Field Summary
Fields Modifier and Type Field Description static StringERROR_ADDING_STORE_TO_STORE_Sstatic StringTHE_STORE_DOES_NOT_HAVE_A_GRAPH_LIBRARY
-
Constructor Summary
Constructors Constructor Description AddStorePropertiesToLibraryHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VoiddoOperation(AddStorePropertiesToLibrary operation, Context context, Store store)Execute the givenOperation.
-
-
-
Field Detail
-
ERROR_ADDING_STORE_TO_STORE_S
public static final String ERROR_ADDING_STORE_TO_STORE_S
- See Also:
- Constant Field Values
-
THE_STORE_DOES_NOT_HAVE_A_GRAPH_LIBRARY
public static final String THE_STORE_DOES_NOT_HAVE_A_GRAPH_LIBRARY
- See Also:
- Constant Field Values
-
-
Method Detail
-
doOperation
public Void doOperation(AddStorePropertiesToLibrary operation, Context context, Store store) throws OperationException
Description copied from interface:OperationHandlerExecute the givenOperation.- Specified by:
doOperationin interfaceOperationHandler<AddStorePropertiesToLibrary>- Parameters:
operation- theOperationto 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 or null.
- Throws:
OperationException- thrown if the operation fails
-
-