Package jadex.bpmn.tools
Class ProcessThreadInfo
- java.lang.Object
-
- jadex.bpmn.tools.ProcessThreadInfo
-
public class ProcessThreadInfo extends java.lang.ObjectVisualization data about a process thread.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringactidThe activity id.protected java.lang.StringactivityThe activity name.protected java.lang.StringdataThe data of the process.protected java.lang.StringedgesThe data edges of the process.protected java.lang.StringexceptionThe exception that has just occurred in the process (if any).protected java.lang.StringidThe thread that executed this activity.protected java.lang.StringlaneThe lane name.protected java.lang.StringparentidThe parent id.protected java.lang.StringpoolThe pool name.protected booleanwaitingIs the process in a waiting state.
-
Constructor Summary
Constructors Constructor Description ProcessThreadInfo()Create a new info.ProcessThreadInfo(java.lang.String id, java.lang.String parentid, java.lang.String activity, java.lang.String actid, java.lang.String pool, java.lang.String lane)Create a new history info.ProcessThreadInfo(java.lang.String id, java.lang.String parentid, java.lang.String activity, java.lang.String actid, java.lang.String pool, java.lang.String lane, java.lang.String exception, boolean waiting, java.lang.String data, java.lang.String edges)Create a new process info.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Test if two objects are equal.java.lang.StringgetActId()Get the actid.java.lang.StringgetActivity()Get the activity.java.lang.StringgetData()Get the data.voidgetData(java.lang.String data)Set the data.java.lang.StringgetEdges()Get the edges.java.lang.StringgetException()Get the exception.java.lang.StringgetLane()Get the lane.java.lang.StringgetParentId()Get the parentid.java.lang.StringgetPool()Get the pool.java.lang.StringgetThreadId()Get the thread id.inthashCode()Get the hashcodebooleanisWaiting()Get the waiting flag.voidsetActId(java.lang.String actid)Set the actid.voidsetActivity(java.lang.String activity)Set the activity.voidsetEdges(java.lang.String edges)Set the edges.voidsetException(java.lang.String exception)Set the exception.voidsetLane(java.lang.String lane)Set the lane.voidsetParentId(java.lang.String parentid)Set the parentid.voidsetPool(java.lang.String pool)Set the pool.voidsetThreadId(java.lang.String id)Set the thread id.voidsetWaiting(boolean waiting)Set the waiting flag.java.lang.StringtoString()Get the string representation.
-
-
-
Field Detail
-
id
protected java.lang.String id
The thread that executed this activity.
-
parentid
protected java.lang.String parentid
The parent id.
-
activity
protected java.lang.String activity
The activity name.
-
actid
protected java.lang.String actid
The activity id.
-
pool
protected java.lang.String pool
The pool name.
-
lane
protected java.lang.String lane
The lane name.
-
exception
protected java.lang.String exception
The exception that has just occurred in the process (if any).
-
waiting
protected boolean waiting
Is the process in a waiting state.
-
data
protected java.lang.String data
The data of the process.
-
edges
protected java.lang.String edges
The data edges of the process.
-
-
Constructor Detail
-
ProcessThreadInfo
public ProcessThreadInfo()
Create a new info.
-
ProcessThreadInfo
public ProcessThreadInfo(java.lang.String id, java.lang.String parentid, java.lang.String activity, java.lang.String actid, java.lang.String pool, java.lang.String lane)Create a new history info.
-
ProcessThreadInfo
public ProcessThreadInfo(java.lang.String id, java.lang.String parentid, java.lang.String activity, java.lang.String actid, java.lang.String pool, java.lang.String lane, java.lang.String exception, boolean waiting, java.lang.String data, java.lang.String edges)Create a new process info.
-
-
Method Detail
-
getThreadId
public java.lang.String getThreadId()
Get the thread id.- Returns:
- The thread id.
-
setThreadId
public void setThreadId(java.lang.String id)
Set the thread id.- Parameters:
id- The thread id.
-
getParentId
public java.lang.String getParentId()
Get the parentid. return The parentid.
-
setParentId
public void setParentId(java.lang.String parentid)
Set the parentid.- Parameters:
parentid- The parentid to set.
-
getActivity
public java.lang.String getActivity()
Get the activity.- Returns:
- The activity.
-
setActivity
public void setActivity(java.lang.String activity)
Set the activity.- Parameters:
activity- The activity.
-
getActId
public java.lang.String getActId()
Get the actid.- Returns:
- The actid.
-
setActId
public void setActId(java.lang.String actid)
Set the actid.- Parameters:
actid- The actid to set.
-
getPool
public java.lang.String getPool()
Get the pool.- Returns:
- The pool.
-
setPool
public void setPool(java.lang.String pool)
Set the pool.- Parameters:
pool- The pool.
-
getLane
public java.lang.String getLane()
Get the lane.- Returns:
- The lane.
-
setLane
public void setLane(java.lang.String lane)
Set the lane.- Parameters:
lane- The lane.
-
getException
public java.lang.String getException()
Get the exception.- Returns:
- The exception.
-
setException
public void setException(java.lang.String exception)
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
public java.lang.String getData()
Get the data.- Returns:
- The data.
-
getData
public void getData(java.lang.String data)
Set the data.- Parameters:
data- The data.
-
getEdges
public java.lang.String getEdges()
Get the edges.- Returns:
- The edges.
-
setEdges
public void setEdges(java.lang.String edges)
Set the edges.- Parameters:
edges- The edges to set.
-
toString
public java.lang.String toString()
Get the string representation.- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
Test if two objects are equal.- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
Get the hashcode- Overrides:
hashCodein classjava.lang.Object
-
-