Interface ManagedFunctionLogicContext
public interface ManagedFunctionLogicContext
Context for the execution of a
ManagedFunction.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionCreates anAsynchronousFlow.voiddoFlow(FlowMetaData flowMetaData, Object parameter, FlowCallback callback) Invokes aFlow.getObject(ManagedObjectIndex index) Obtains theObjectfrom aManagedObject.voidnext(FunctionLogic function) Specifies the nextFunctionLogicto be executed before the nextManagedFunctionLogic.voidsetNextFunctionArgument(Object argument) Allows to asynchronously overwrite the nextManagedFunctionargument.
-
Method Details
-
next
Specifies the nextFunctionLogicto be executed before the nextManagedFunctionLogic.- Parameters:
function- NextFunctionLogic.
-
getObject
Obtains theObjectfrom aManagedObject.- Parameters:
index-ManagedObjectIndexidentifying theManagedObject.- Returns:
- Object from the
ManagedObject.
-
doFlow
Invokes aFlow.- Parameters:
flowMetaData-FlowMetaDatafor theFlow.parameter- Parameter for the initialManagedFunctionof theFlow.callback- OptionalFlowCallback. May benull.
-
createAsynchronousFlow
AsynchronousFlow createAsynchronousFlow()Creates anAsynchronousFlow.- Returns:
AsynchronousFlow.
-
setNextFunctionArgument
Allows to asynchronously overwrite the nextManagedFunctionargument.- Parameters:
argument- Argument for the nextManagedFunction.
-