Package jadex.bpmn.runtime
Class ProcessThreadInfo
java.lang.Object
jadex.bpmn.runtime.ProcessThreadInfo
Visualization data about a process thread.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe activity id.protected StringThe activity name.protected StringThe data of the process.protected StringThe data edges of the process.protected StringThe exception that has just occurred in the process (if any).protected StringThe thread that executed this activity.protected StringThe lane name.protected StringThe parent id.protected StringThe pool name.protected booleanIs the process in a waiting state. -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new info.ProcessThreadInfo(String id, String parentid, String activity, String actid, String pool, String lane) Create a new history info.ProcessThreadInfo(String id, String parentid, String activity, String actid, String pool, String lane, String exception, boolean waiting, String data, String edges) Create a new process info. -
Method Summary
Modifier and TypeMethodDescriptionbooleanTest if two objects are equal.getActId()Get the actid.Get the activity.getData()Get the data.voidSet the data.getEdges()Get the edges.Get the exception.getLane()Get the lane.Get the parentid.getPool()Get the pool.Get the thread id.inthashCode()Get the hashcodebooleanGet the waiting flag.voidSet the actid.voidsetActivity(String activity) Set the activity.voidSet the edges.voidsetException(String exception) Set the exception.voidSet the lane.voidsetParentId(String parentid) Set the parentid.voidSet the pool.voidsetThreadId(String id) Set the thread id.voidsetWaiting(boolean waiting) Set the waiting flag.toString()Get the string representation.
-
Field Details
-
id
The thread that executed this activity. -
parentid
The parent id. -
activity
The activity name. -
actid
The activity id. -
pool
The pool name. -
lane
The lane name. -
exception
The exception that has just occurred in the process (if any). -
waiting
protected boolean waitingIs the process in a waiting state. -
data
The data of the process. -
edges
The data edges of the process.
-
-
Constructor Details
-
ProcessThreadInfo
public ProcessThreadInfo()Create a new info. -
ProcessThreadInfo
public ProcessThreadInfo(String id, String parentid, String activity, String actid, String pool, String lane) Create a new history info. -
ProcessThreadInfo
public ProcessThreadInfo(String id, String parentid, String activity, String actid, String pool, String lane, String exception, boolean waiting, String data, String edges) Create a new process info.
-
-
Method Details
-
getThreadId
Get the thread id.- Returns:
- The thread id.
-
setThreadId
Set the thread id.- Parameters:
id- The thread id.
-
getParentId
Get the parentid. return The parentid. -
setParentId
Set the parentid.- Parameters:
parentid- The parentid to set.
-
getActivity
Get the activity.- Returns:
- The activity.
-
setActivity
Set the activity.- Parameters:
activity- The activity.
-
getActId
Get the actid.- Returns:
- The actid.
-
setActId
Set the actid.- Parameters:
actid- The actid to set.
-
getPool
Get the pool.- Returns:
- The pool.
-
setPool
Set the pool.- Parameters:
pool- The pool.
-
getLane
Get the lane.- Returns:
- The lane.
-
setLane
Set the lane.- Parameters:
lane- The lane.
-
getException
Get the exception.- Returns:
- The exception.
-
setException
Set the exception.- Parameters:
exception- The exception.
-
isWaiting
public boolean isWaiting()Get the waiting flag.- Returns:
- The waiting flag.
-
setWaiting
public void setWaiting(boolean waiting) Set the waiting flag.- Parameters:
waiting- The waiting flag.
-
getData
Get the data.- Returns:
- The data.
-
getData
Set the data.- Parameters:
data- The data.
-
getEdges
Get the edges.- Returns:
- The edges.
-
setEdges
Set the edges.- Parameters:
edges- The edges to set.
-
toString
Get the string representation. -
equals
Test if two objects are equal. -
hashCode
public int hashCode()Get the hashcode
-