org.hypergraphdb.peer.workflow
Class AffirmIdentity

java.lang.Object
  extended by org.hypergraphdb.peer.workflow.Activity
      extended by org.hypergraphdb.peer.workflow.FSMActivity
          extended by org.hypergraphdb.peer.workflow.AffirmIdentity

public class AffirmIdentity
extends FSMActivity


Field Summary
static java.lang.String TYPE_NAME
           
 
Constructor Summary
AffirmIdentity(HyperGraphPeer thisPeer)
           
AffirmIdentity(HyperGraphPeer thisPeer, java.lang.Object target)
           
AffirmIdentity(HyperGraphPeer thisPeer, java.util.UUID id)
           
 
Method Summary
 java.lang.String getType()
           Return the type name of this activity.
 void initiate()
          Empty method - override to implement activity initiation.
 WorkflowState onConfirm(Message msg)
           
 WorkflowState onDisconfirm(Message msg)
           
 WorkflowState onInform(Message msg)
           
 
Methods inherited from class org.hypergraphdb.peer.workflow.FSMActivity
handleMessage
 
Methods inherited from class org.hypergraphdb.peer.workflow.Activity
getFuture, getId, getState, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE_NAME

public static final java.lang.String TYPE_NAME
See Also:
Constant Field Values
Constructor Detail

AffirmIdentity

public AffirmIdentity(HyperGraphPeer thisPeer)

AffirmIdentity

public AffirmIdentity(HyperGraphPeer thisPeer,
                      java.util.UUID id)

AffirmIdentity

public AffirmIdentity(HyperGraphPeer thisPeer,
                      java.lang.Object target)
Method Detail

getType

public java.lang.String getType()
Description copied from class: 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.

Overrides:
getType in class Activity

initiate

public void initiate()
Description copied from class: FSMActivity

Empty method - override to implement activity initiation.

Overrides:
initiate in class FSMActivity

onInform

public WorkflowState onInform(Message msg)

onConfirm

public WorkflowState onConfirm(Message msg)

onDisconfirm

public WorkflowState onDisconfirm(Message msg)