org.state4j.sm
Class SmEngineImpl<T extends org.state4j.sm.SmTarget>
java.lang.Object
org.state4j.sm.SmEngineImpl<T>
- All Implemented Interfaces:
- org.state4j.sm.SmEngine<T>
public class SmEngineImpl<T extends org.state4j.sm.SmTarget>
- extends java.lang.Object
- implements org.state4j.sm.SmEngine<T>
- Author:
- andrea
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SmEngineImpl
public SmEngineImpl()
setTarget
public void setTarget(T target)
- Specified by:
setTarget
in interface org.state4j.sm.SmEngine<T extends org.state4j.sm.SmTarget>
start
public void start()
- Specified by:
start
in interface org.state4j.sm.SmEngine<T extends org.state4j.sm.SmTarget>
getStateMachine
public org.state4j.sm.SmState getStateMachine()
setStateMachine
public void setStateMachine(org.state4j.sm.SmState sm)
hasStateMachine
public boolean hasStateMachine()
getContext
public org.state4j.sm.SmContext<T> getContext()
setContext
public void setContext(org.state4j.sm.SmContext<T> cntx)
hasContext
public boolean hasContext()
getCurrentState
public java.lang.String getCurrentState()
- Specified by:
getCurrentState
in interface org.state4j.sm.SmEngine<T extends org.state4j.sm.SmTarget>
fireEvent
public void fireEvent(org.state4j.sm.SmEvent event)
- Specified by:
fireEvent
in interface org.state4j.sm.SmEngine<T extends org.state4j.sm.SmTarget>
getLogger
public org.apache.commons.logging.Log getLogger()
getTarget
public T getTarget()
- Specified by:
getTarget
in interface org.state4j.sm.SmEngine<T extends org.state4j.sm.SmTarget>
hasTarget
public boolean hasTarget()
- Specified by:
hasTarget
in interface org.state4j.sm.SmEngine<T extends org.state4j.sm.SmTarget>
Copyright © 2006 . All Rights Reserved.