Interface ManagedFunctionLogicContext
-
public interface ManagedFunctionLogicContextContext for the execution of aManagedFunction.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AsynchronousFlowcreateAsynchronousFlow()Creates anAsynchronousFlow.voiddoFlow(FlowMetaData flowMetaData, java.lang.Object parameter, FlowCallback callback)Invokes aFlow.java.lang.ObjectgetObject(ManagedObjectIndex index)Obtains theObjectfrom aManagedObject.voidnext(FunctionLogic function)Specifies the nextFunctionLogicto be executed before the nextManagedFunctionLogic.voidsetNextFunctionArgument(java.lang.Object argument)Allows to asynchronously overwrite the nextManagedFunctionargument.
-
-
-
Method Detail
-
next
void next(FunctionLogic function)
Specifies the nextFunctionLogicto be executed before the nextManagedFunctionLogic.- Parameters:
function- NextFunctionLogic.
-
getObject
java.lang.Object getObject(ManagedObjectIndex index)
Obtains theObjectfrom aManagedObject.- Parameters:
index-ManagedObjectIndexidentifying theManagedObject.- Returns:
- Object from the
ManagedObject.
-
doFlow
void doFlow(FlowMetaData flowMetaData, java.lang.Object parameter, FlowCallback callback)
Invokes aFlow.- Parameters:
flowMetaData-FlowMetaDatafor theFlow.parameter- Parameter for the initialManagedFunctionof theFlow.callback- OptionalFlowCallback. May benull.
-
createAsynchronousFlow
AsynchronousFlow createAsynchronousFlow()
Creates anAsynchronousFlow.- Returns:
AsynchronousFlow.
-
setNextFunctionArgument
void setNextFunctionArgument(java.lang.Object argument)
Allows to asynchronously overwrite the nextManagedFunctionargument.- Parameters:
argument- Argument for the nextManagedFunction.
-
-