public class RemoveAtom extends FSMActivity
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TYPENAME |
Constructor and Description |
---|
RemoveAtom(HyperGraphPeer thisPeer,
java.util.Collection<HGHandle> atomHandles,
HGPeerIdentity target) |
RemoveAtom(HyperGraphPeer thisPeer,
HGHandle atomHandle,
HGPeerIdentity target) |
RemoveAtom(HyperGraphPeer thisPeer,
java.util.UUID id) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<HGHandle,java.lang.Boolean> |
getRemoved() |
java.lang.String |
getType()
Return the type name of this activity.
|
void |
initiate()
Empty method - override to implement activity initiation.
|
WorkflowStateConstant |
onAtomsRemoved(Json msg) |
WorkflowStateConstant |
onRemoveAtoms(Json msg) |
handleMessage, onPeerFailure, onPeerNotUnderstand
public static final java.lang.String TYPENAME
public RemoveAtom(HyperGraphPeer thisPeer, java.util.UUID id)
public RemoveAtom(HyperGraphPeer thisPeer, HGHandle atomHandle, HGPeerIdentity target)
public RemoveAtom(HyperGraphPeer thisPeer, java.util.Collection<HGHandle> atomHandles, HGPeerIdentity target)
public void initiate()
FSMActivity
Empty method - override to implement activity initiation.
initiate
in class FSMActivity
public WorkflowStateConstant onRemoveAtoms(Json msg) throws java.lang.Throwable
java.lang.Throwable
public WorkflowStateConstant onAtomsRemoved(Json msg) throws java.lang.Throwable
java.lang.Throwable
public java.util.Map<HGHandle,java.lang.Boolean> getRemoved()
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.