|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Workflow
A workflow schema.
A workflow schema defines a state machine (deterministic finite automaton - DFA), consisting of
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_PREFIX
DEFAULT_PREFIX Default workflow namespace prefix |
static java.lang.String |
NAMESPACE
NAMESPACE Workflow namespace URI |
Method Summary | |
---|---|
java.lang.String[] |
getEvents()
|
java.lang.String |
getInitialState()
Returns the initial state of this workflow. |
boolean |
getInitialValue(java.lang.String variableName)
|
Transition[] |
getLeavingTransitions(java.lang.String state)
Returns the transitions that leave a state. |
java.lang.String |
getName()
|
java.lang.String[] |
getStates()
|
java.lang.String[] |
getVariableNames()
Returns the variable names. |
Field Detail |
---|
static final java.lang.String NAMESPACE
NAMESPACE
Workflow namespace URI
static final java.lang.String DEFAULT_PREFIX
DEFAULT_PREFIX
Default workflow namespace prefix
Method Detail |
---|
java.lang.String getInitialState()
Transition[] getLeavingTransitions(java.lang.String state) throws WorkflowException
state
- A state.
WorkflowException
- if the state is not contained.java.lang.String[] getVariableNames()
java.lang.String getName()
boolean getInitialValue(java.lang.String variableName) throws WorkflowException
variableName
- The variable name.
WorkflowException
- if the variable does not exist.java.lang.String[] getEvents()
java.lang.String[] getStates()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |