|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.evelopers.unimod.compilation.StateMachineCompiler
Compile given state machine. This process includes:
Constructor Summary | |
StateMachineCompiler(OperationResolver operationResolver)
|
Method Summary | |
boolean |
addCompilationListener(CompilationListener listener)
|
protected boolean |
checkIdentifier(java.lang.String identifier)
|
void |
compile(StateMachine sm)
Compiles whole state machine WITHOUT included state machines |
void |
compile(StateMachine sm,
ControlledObjectHandler co)
Compiles given controlled object |
void |
compile(StateMachine sm,
Event e)
Compiles given event |
void |
compile(StateMachine sm,
EventProviderHandler ep)
Compiles given event provider object |
void |
compile(StateMachine sm,
ModelElement owner,
Action e)
|
void |
compile(StateMachine sm,
State s)
Compiles given state with it's output actions |
void |
compile(StateMachine sm,
Transition t)
Compiles given transition with it's guard, event and output actions |
void |
compile(StateMachine sm,
Transition t,
Guard c)
Compiles given guard |
void |
compileWithIncluded(StateMachine sm)
Compiles whole state machine WITH included state machines |
static java.lang.String |
getActionName(java.lang.String identifier)
Parses action name from identifier |
static java.lang.String |
getObjectName(java.lang.String identifier)
Parses object name from identifier |
boolean |
removeCompilationListener(CompilationListener listener)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StateMachineCompiler(OperationResolver operationResolver)
Method Detail |
public boolean addCompilationListener(CompilationListener listener)
public boolean removeCompilationListener(CompilationListener listener)
public void compile(StateMachine sm)
sm
- public void compileWithIncluded(StateMachine sm)
sm
- public void compile(StateMachine sm, ControlledObjectHandler co)
sm
- co
- public void compile(StateMachine sm, EventProviderHandler ep)
sm
- ep
- public void compile(StateMachine sm, State s)
sm
- s
- public void compile(StateMachine sm, Transition t)
sm
- t
- public void compile(StateMachine sm, Transition t, Guard c)
sm
- c
- public void compile(StateMachine sm, ModelElement owner, Action e)
public void compile(StateMachine sm, Event e)
sm
- e
- public static java.lang.String getObjectName(java.lang.String identifier)
identifier
- action identifier line o1.z2
public static java.lang.String getActionName(java.lang.String identifier)
identifier
- action identifier line o1.z2
protected boolean checkIdentifier(java.lang.String identifier)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |