Package uk.gov.gchq.gaffer.graph.hook
Class FunctionAuthoriser
- java.lang.Object
-
- uk.gov.gchq.gaffer.graph.hook.FunctionAuthoriser
-
-
Constructor Summary
Constructors Constructor Description FunctionAuthoriser()FunctionAuthoriser(List<Class<? extends Function>> unauthorisedFunctions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Class<? extends Function>>getUnauthorisedFunctions()voidpreExecute(OperationChain<?> opChain, Context context)Called fromGraphbefore anOperationChainis executed.voidsetUnauthorisedFunctions(List<Class<? extends Function>> unauthorisedFunctions)-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface uk.gov.gchq.gaffer.graph.hook.GraphHook
onFailure, postExecute
-
-
-
-
Method Detail
-
preExecute
public void preExecute(OperationChain<?> opChain, Context context)
Description copied from interface:GraphHookCalled fromGraphbefore anOperationChainis executed.- Specified by:
preExecutein interfaceGraphHook- Parameters:
opChain- theOperationChainbeing executed. This can be modified/optimised in any GraphHook.context- theContextin which the operation chain was executed. The context also holds a reference to the original operation chain.
-
-