public class GetClassForType extends FSMActivity
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TYPENAME |
Constructor and Description |
---|
GetClassForType(HyperGraphPeer thisPeer,
HGHandle typeHandle,
java.lang.Object target) |
GetClassForType(HyperGraphPeer thisPeer,
java.util.UUID id) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClassName() |
java.lang.String |
getType()
Return the type name of this activity.
|
void |
initiate()
Empty method - override to implement activity initiation.
|
WorkflowStateConstant |
onInform(Json msg) |
WorkflowStateConstant |
onQuery(Json msg) |
WorkflowStateConstant |
onRefuse(Json msg) |
handleMessage, onPeerFailure, onPeerNotUnderstand
public static final java.lang.String TYPENAME
public GetClassForType(HyperGraphPeer thisPeer, HGHandle typeHandle, java.lang.Object target)
public GetClassForType(HyperGraphPeer thisPeer, java.util.UUID id)
public void initiate()
FSMActivity
Empty method - override to implement activity initiation.
initiate
in class FSMActivity
public WorkflowStateConstant onQuery(Json msg)
public WorkflowStateConstant onInform(Json msg)
public WorkflowStateConstant onRefuse(Json msg)
public java.lang.String getClassName()
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.