|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.amis.pogamut.sposh.executor.StateAction<CONTEXT>
CONTEXT - Context of this action, used to manipulate the environment.public abstract class StateAction<CONTEXT extends Context>
Basic state action primitive. It contains context and name. Wizzard for new state actions generates class that is extension of this class.
| Field Summary | |
|---|---|
protected CONTEXT |
ctx
Context for the action |
| Constructor Summary | |
|---|---|
protected |
StateAction(CONTEXT ctx)
Create new state action. |
protected |
StateAction(String name,
CONTEXT ctx)
Create new state action. |
| Method Summary | |
|---|---|
CONTEXT |
getCtx()
Get shared context of all primitives. |
String |
getName()
Get name of the action. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface cz.cuni.amis.pogamut.sposh.executor.IAction |
|---|
done, init, run |
| Field Detail |
|---|
protected final CONTEXT extends Context ctx
| Constructor Detail |
|---|
protected StateAction(String name,
CONTEXT ctx)
name - name of the actionctx - action context, used as shared memory or environment interactor.protected StateAction(CONTEXT ctx)
ctx - action context, used as shared memory or environment interactor.| Method Detail |
|---|
public String getName()
public CONTEXT getCtx()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||