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