| org.apache.lenya.workflow.Workflow
All known Subclasses: org.apache.lenya.workflow.impl.WorkflowImpl,
Workflow | public interface Workflow (Code) | | 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.
|
DEFAULT_PREFIX | String DEFAULT_PREFIX(Code) | | DEFAULT_PREFIX Default workflow namespace prefix
|
NAMESPACE | String NAMESPACE(Code) | | NAMESPACE Workflow namespace URI
|
getInitialState | String getInitialState()(Code) | | Returns the initial state of this workflow.
The initial state |
getInitialValue | boolean getInitialValue(String variableName) throws WorkflowException(Code) | | Parameters: variableName - The variable name. The initial value of the variable. throws: WorkflowException - if the variable does not exist. |
getLeavingTransitions | Transition[] getLeavingTransitions(String state) throws WorkflowException(Code) | | Returns the transitions that leave a state.
This method is used, e.g., to disable menu items.
Parameters: state - A state. The transitions that leave the state. throws: WorkflowException - if the state is not contained. |
getVariableNames | String[] getVariableNames()(Code) | | Returns the variable names.
A string array. |
|
|