com.hammurapi.flow.runtime
Interface Invocation<S,A>
- Type Parameters:
S - Flow state type.A - Argument type.
- All Superinterfaces:
- Serializable
public interface Invocation<S,A>
- extends Serializable
Provides invocation details for Java methods and is also used
for invocation serialization.
- Author:
- Pavel
|
Field Summary |
static Invocation<?,?> |
INSTANCE
Implementations set this constant to provide methods access
to properties and context in implementation-neutral way. |
INSTANCE
static final Invocation<?,?> INSTANCE
- Implementations set this constant to provide methods access
to properties and context in implementation-neutral way.
getProperties
PropertySet getProperties()
- Returns:
- Properties.
getContext
Context getContext()
- Returns:
- Invocation context.
getProcessingPath
List<ProcessingPathElement> getProcessingPath()
- Returns:
- processing path.
getArguments
A[] getArguments()
- Returns:
- Arguments.
getFlowState
S getFlowState()
- Returns:
- Flow state - a shared object available to all invocations.