|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hypergraphdb.peer.workflow.Activity
org.hypergraphdb.peer.workflow.FSMActivity
public abstract class FSMActivity
An activity implementation based on a finite state machine defined through method annotations.
| Constructor Summary | |
|---|---|
FSMActivity(HyperGraphPeer thisPeer)
|
|
FSMActivity(HyperGraphPeer thisPeer,
java.util.UUID id)
|
|
| Method Summary | |
|---|---|
void |
handleMessage(Message message)
Empty method - can't override because message handling for FSMActivity is automated by the framework. |
void |
initiate()
Empty method - override to implement activity initiation. |
| Methods inherited from class org.hypergraphdb.peer.workflow.Activity |
|---|
getFuture, getId, getState, getType, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FSMActivity(HyperGraphPeer thisPeer)
public FSMActivity(HyperGraphPeer thisPeer,
java.util.UUID id)
| Method Detail |
|---|
public void initiate()
Empty method - override to implement activity initiation.
initiate in class Activitypublic final void handleMessage(Message message)
Empty method - can't override because message handling for
FSMActivity is automated by the framework.
handleMessage in class Activitymessage - The full message.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||