com.stateforge.statebuilder.java
Class CoderState
java.lang.Object
com.stateforge.statebuilder.CoderBase
com.stateforge.statebuilder.java.CoderBaseJava
com.stateforge.statebuilder.java.CoderState
public class CoderState
- extends CoderBaseJava
|
Method Summary |
void |
code()
|
protected void |
processTransitionStatements(State state,
Transition transition,
com.sun.codemodel.JBlock block,
com.sun.codemodel.JVar contextVar)
context.setTransitionName("evTimer[ping.getTx() == ping.getCount()]");
com.stateforge.statemachine.algorithm.StateOperation.processTransitionBegin(context, PingEndState.getInstance());
com.stateforge.statemachine.algorithm.StateOperation.processTransitionEnd(context, PingEndState.getInstance());
context.onEnd(); |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CoderState
public CoderState(StateMachineModel model,
com.sun.codemodel.JCodeModel code)
code
public void code()
throws StateBuilderException
- Specified by:
code in class CoderBase
- Throws:
StateBuilderException
processTransitionStatements
protected void processTransitionStatements(State state,
Transition transition,
com.sun.codemodel.JBlock block,
com.sun.codemodel.JVar contextVar)
throws StateBuilderException
- context.setTransitionName("evTimer[ping.getTx() == ping.getCount()]");
com.stateforge.statemachine.algorithm.StateOperation.processTransitionBegin(context, PingEndState.getInstance());
com.stateforge.statemachine.algorithm.StateOperation.processTransitionEnd(context, PingEndState.getInstance());
context.onEnd();
- Parameters:
state - transition -
- Throws:
StateBuilderException
Copyright © 2015. All rights reserved.