|
|||||||||
| Home >> All >> org >> apache >> lenya >> [ workflow overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.lenya.workflow
Interface Workflow

- public interface Workflow
A workflow schema.
A workflow schema defines a state machine (deterministic finite automaton - DFA), consisting of
- states, including a marked initial state,
- transitions, and
- state variables.
| Field Summary | |
static java.lang.String |
DEFAULT_PREFIX
|
static java.lang.String |
NAMESPACE
|
| Method Summary | |
State |
getInitialState()
Returns the initial state of this workflow. |
Transition[] |
getLeavingTransitions(State state)
Returns the transitions that leave a state. |
java.lang.String[] |
getVariableNames()
Returns the variable names. |
| Field Detail |
NAMESPACE
public static final java.lang.String NAMESPACE
- See Also:
- Constant Field Values
DEFAULT_PREFIX
public static final java.lang.String DEFAULT_PREFIX
- See Also:
- Constant Field Values
| Method Detail |
getInitialState
public State getInitialState()
- Returns the initial state of this workflow.
getLeavingTransitions
public Transition[] getLeavingTransitions(State state)
- Returns the transitions that leave a state.
This method is used, e.g., to disable menu items.
getVariableNames
public java.lang.String[] getVariableNames()
- Returns the variable names.
|
|||||||||
| Home >> All >> org >> apache >> lenya >> [ workflow overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC