org.apache.lenya.cms.usecase
Class StateMachine.Transition
java.lang.Object
org.apache.lenya.cms.usecase.StateMachine.Transition
- Enclosing class:
- StateMachine
public static class StateMachine.Transition
- extends java.lang.Object
A transition switches from a source state to a destination state if an
event is invoked.
Constructor Summary |
StateMachine.Transition(java.lang.String source,
java.lang.String destination,
java.lang.String event)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StateMachine.Transition
public StateMachine.Transition(java.lang.String source,
java.lang.String destination,
java.lang.String event)
- Parameters:
source
- The source state.destination
- The destination state.event
- The event.
getDestination
public java.lang.String getDestination()
- Returns:
- The destination state.
getEvent
public java.lang.String getEvent()
- Returns:
- The event.
getSource
public java.lang.String getSource()
- Returns:
- The source state.
Copyright © $ Apache Software Foundation. All Rights Reserved.