com.x8ing.lsm4j.state
Class ProcessableTransition

java.lang.Object
  extended by com.x8ing.lsm4j.state.StaticTransition
      extended by com.x8ing.lsm4j.state.ProcessableTransition

public class ProcessableTransition
extends StaticTransition

Author:
Patrick Heusser

Field Summary
 
Fields inherited from class com.x8ing.lsm4j.state.StaticTransition
currentState, nextState
 
Constructor Summary
ProcessableTransition(ProcessableState currentState, ProcessableState nextState, Condition condition)
           
ProcessableTransition(ProcessableState currentState, ProcessableState nextState, Condition condition, Action transitionAction)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 Action getAction()
           
 Condition getCondition()
           
 ProcessableState getCurrentProcessableState()
           
 ProcessableState getNextProcessableState()
           
 int hashCode()
           
 void setAction(Action action)
           
 void setCondition(Condition condition)
           
 
Methods inherited from class com.x8ing.lsm4j.state.StaticTransition
getCurrentState, getNextState, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProcessableTransition

public ProcessableTransition(ProcessableState currentState,
                             ProcessableState nextState,
                             Condition condition)
Parameters:
currentState -
nextState -

ProcessableTransition

public ProcessableTransition(ProcessableState currentState,
                             ProcessableState nextState,
                             Condition condition,
                             Action transitionAction)
Method Detail

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class StaticTransition

hashCode

public int hashCode()
Overrides:
hashCode in class StaticTransition

getCondition

public Condition getCondition()

setCondition

public void setCondition(Condition condition)

getCurrentProcessableState

public ProcessableState getCurrentProcessableState()

getNextProcessableState

public ProcessableState getNextProcessableState()

getAction

public Action getAction()

setAction

public void setAction(Action action)


by Patrick Heusser