org.apache.lenya.workflow
Interface Transition


public interface Transition

A transition describes the switching of a workflow instance from one state to another. A transition has

Additionally, a transition can be marked as synchronized.


Method Summary
 Action[] getActions()
          Returns the actions of this transition.
 Condition[] getConditions()
           
 java.lang.String getDestination()
           
 java.lang.String getEvent()
          Returns the event of this transition.
 java.lang.String getSource()
           
 boolean isSynchronized()
          Returns if this transition is synchronized.
 

Method Detail

getEvent

java.lang.String getEvent()
Returns the event of this transition.

Returns:
the event

getSource

java.lang.String getSource()
Returns:
The source state.

getDestination

java.lang.String getDestination()
Returns:
The destination state.

getActions

Action[] getActions()
Returns the actions of this transition.

Returns:
the actions

getConditions

Condition[] getConditions()
Returns:
The conditions.

isSynchronized

boolean isSynchronized()
Returns if this transition is synchronized.

Returns:
A boolean value.


Copyright 1999-2006 Apache Software Foundation. All Rights Reserved.