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 String
ERROR_ADDING_STORE_TO_STORE_S
static String
THE_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 Void
doOperation(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:OperationHandler
Execute the givenOperation
.- Specified by:
doOperation
in interfaceOperationHandler<AddStorePropertiesToLibrary>
- Parameters:
operation
- theOperation
to be executedcontext
- the operation chain context, containing the user who executed the operationstore
- theStore
the operation should be run on- Returns:
- the output for the operation or null.
- Throws:
OperationException
- thrown if the operation fails
-
-