public class AddAtom extends FSMActivity
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TYPENAME |
Constructor and Description |
---|
AddAtom(HyperGraphPeer thisPeer,
java.lang.Object atom,
HGHandle typeHandle,
HGPeerIdentity target) |
AddAtom(HyperGraphPeer thisPeer,
java.lang.Object atom,
HGPeerIdentity target) |
AddAtom(HyperGraphPeer thisPeer,
java.util.UUID id) |
Modifier and Type | Method and Description |
---|---|
HGHandle |
getAtomHandle() |
java.lang.String |
getType()
Return the type name of this activity.
|
void |
initiate()
Empty method - override to implement activity initiation.
|
WorkflowStateConstant |
onAddAtom(Json msg) |
WorkflowStateConstant |
onAtomAdded(Json msg) |
handleMessage, onPeerFailure, onPeerNotUnderstand
public static final java.lang.String TYPENAME
public AddAtom(HyperGraphPeer thisPeer, java.util.UUID id)
public AddAtom(HyperGraphPeer thisPeer, java.lang.Object atom, HGPeerIdentity target)
public AddAtom(HyperGraphPeer thisPeer, java.lang.Object atom, HGHandle typeHandle, HGPeerIdentity target)
public void initiate()
FSMActivity
Empty method - override to implement activity initiation.
initiate
in class FSMActivity
public WorkflowStateConstant onAddAtom(Json msg) throws java.lang.Throwable
java.lang.Throwable
public WorkflowStateConstant onAtomAdded(Json msg) throws java.lang.Throwable
java.lang.Throwable
public HGHandle getAtomHandle()
public java.lang.String getType()
Activity
Return the type name of this activity. By the default to fully-qualified class name is returned. This method can be overridden by sub-classes to provide a short and/or more human-readable type name.