| Home >> All >> org >> apache >> lenya >> [ workflow Javadoc ] |
| | org.apache.lenya.workflow.impl.* (16) |
org.apache.lenya.workflow: Javadoc index of package org.apache.lenya.workflow.
Package Samples:
org.apache.lenya.workflow.impl
Classes:
SynchronizedWorkflowInstances: Synchronized workflow instances. A set of workflow instances with the same workflow schema can be synchronized. If a transition in this schema is marked as synchronized, it can only be invoked on all instances in the set at the same time. When a workflow event is invoked on a set of synchronized workflow instances, the transition is invoked only if all instances are in the source state of the transition, and all conditions of the transition are complied for all instances. Then the transition is invoked for all instances in the set. A common usecase of this concept is the simultaneous publishing ...
Condition: A condition can prevent a transition from firing, based on the current situation. Examples: Does the current user have a certain role on the current URL? Does a certain state variable have a certain value (e.g., is the document published)? (BooleanVariableCondition) Is the sun shining? (e.g., if the weather report may only be published on sunny days)
Transition: A transition describes the switching of a workflow instance from one state to another. A transition has a source state, a destination state, an event, a set of conditions, a set of assignments. Additionally, a transition can be marked as synchronized.
BooleanVariable: Boolean state variable. A workflow schema can contain a set of state variables. For each instance, the state variables hold certain values. Values can be assigned during transitions, so a variable can change its value when a transition fires. Currently, the workflow supports only boolean state variables.
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.
History: The history of a workflow instance contains a list of all versions of the instance. A version contains the state, the event that caused the transition (omitted in the first version).
WorkflowInstance: A workflow instance is an incarnation of a workflow schema. It consists of a current state, a mapping which assigns values to all state variables.
Situation: A situation contains all information that is needed to decide which workflow transitions can fire at a certain moment.
SynchronizedWorkflowInstancesImpl: An object of this class encapsulates a set of synchronized workflow instances.
WorkflowBuilder: Utility class to build a workflow schema from a file.
BooleanVariableAssignmentImpl: Implementation of a boolean variable assignment.
BooleanVariableCondition: Implementation of a boolean variable condition.
BooleanVariableInstanceImpl: Implementation of a boolean variable instance.
AbstractCondition: Abstract base class for workflow conditions.
WorkflowInstanceImpl: Implementation of a workflow instance.
BooleanVariableImpl: Implementation of a boolean variable.
WorkflowImpl: Implementation of a workflow schema.
BooleanVariableInstance: An instance of a boolean variable.
Version: A version of the workflow history.
TransitionImpl: Implementation of a transition.
BooleanVariableAssignment: Boolean variable assignment.
WorkflowListener: Workflow listener interface.
ActionImpl: Basic action implementation.
ConditionFactory: Factory to build conditions.
EventImpl: Implementation of an event.
| Home | Contact Us | Privacy Policy | Terms of Service |