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()
void
preExecute(OperationChain<?> opChain, Context context)
Called fromGraph
before anOperationChain
is executed.void
setUnauthorisedFunctions(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:GraphHook
Called fromGraph
before anOperationChain
is executed.- Specified by:
preExecute
in interfaceGraphHook
- Parameters:
opChain
- theOperationChain
being executed. This can be modified/optimised in any GraphHook.context
- theContext
in which the operation chain was executed. The context also holds a reference to the original operation chain.
-
-