public class ThreadInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
activityid
Id of the next activity.
|
protected boolean |
canceled
Is the task canceled.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
data
The data of the current or last activity.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
dataedges
The data of the current data edges.
|
protected java.lang.String |
edgeid
Id of the last edge (if any).
|
protected java.lang.Exception |
exception
The exception that has just occurred in the process (if any).
|
protected java.lang.String |
id
Id of the thread.
|
protected int |
idcnt
The id counter for sub processes.
|
protected java.util.Map<java.lang.String,SplitInfo> |
splitinfos
The split infos.
|
protected java.util.List<ThreadInfo> |
subthreadinfos
Subthread infos.
|
Constructor and Description |
---|
ThreadInfo()
Create a new ThreadInfo.
|
ThreadInfo(ProcessThread thread)
Create a new ThreadInfo.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getActivityid()
Gets the activityid.
|
java.util.Map<java.lang.String,java.lang.Object> |
getData()
Gets the data.
|
java.util.Map<java.lang.String,java.lang.Object> |
getDataedges()
Gets the dataedges.
|
java.lang.String |
getEdgeid()
Gets the edgeid.
|
java.lang.Exception |
getException()
Gets the exception.
|
java.lang.String |
getId()
Gets the id.
|
int |
getIdcnt()
Gets the idcnt.
|
java.util.Map<java.lang.String,SplitInfo> |
getSplitinfos()
Gets the splitinfos.
|
java.util.List<ThreadInfo> |
getSubthreads()
Gets the subthreads.
|
boolean |
isCanceled()
Gets the canceled.
|
void |
setActivityid(java.lang.String activityid)
Sets the activityid.
|
void |
setCanceled(boolean canceled)
Sets the canceled.
|
void |
setData(java.util.Map<java.lang.String,java.lang.Object> data)
Sets the data.
|
void |
setDataedges(java.util.Map<java.lang.String,java.lang.Object> dataedges)
Sets the dataedges.
|
void |
setEdgeid(java.lang.String edgeid)
Sets the edgeid.
|
void |
setException(java.lang.Exception exception)
Sets the exception.
|
void |
setId(java.lang.String id)
Sets the id.
|
void |
setIdcnt(int idcnt)
Sets the idcnt.
|
void |
setSplitinfos(java.util.Map<java.lang.String,SplitInfo> splitinfos)
Sets the splitinfos.
|
void |
setSubthreads(java.util.List<ThreadInfo> subthreads)
Sets the subthreads.
|
protected java.lang.String id
protected java.lang.String activityid
protected java.lang.String edgeid
protected java.util.Map<java.lang.String,java.lang.Object> data
protected java.util.Map<java.lang.String,java.lang.Object> dataedges
protected java.lang.Exception exception
protected boolean canceled
protected int idcnt
protected java.util.Map<java.lang.String,SplitInfo> splitinfos
protected java.util.List<ThreadInfo> subthreadinfos
public ThreadInfo()
public ThreadInfo(ProcessThread thread)
public java.lang.String getId()
public void setId(java.lang.String id)
id
- The id to set.public java.lang.String getActivityid()
public void setActivityid(java.lang.String activityid)
activityid
- The activityid to set.public java.lang.String getEdgeid()
public void setEdgeid(java.lang.String edgeid)
edgeid
- The edgeid to set.public java.util.Map<java.lang.String,java.lang.Object> getData()
public void setData(java.util.Map<java.lang.String,java.lang.Object> data)
data
- The data to set.public java.util.Map<java.lang.String,java.lang.Object> getDataedges()
public void setDataedges(java.util.Map<java.lang.String,java.lang.Object> dataedges)
dataedges
- The dataedges to set.public java.util.List<ThreadInfo> getSubthreads()
public void setSubthreads(java.util.List<ThreadInfo> subthreads)
subthreads
- The subthreads to set.public java.lang.Exception getException()
public void setException(java.lang.Exception exception)
exception
- The exception to set.public boolean isCanceled()
public void setCanceled(boolean canceled)
canceled
- The canceled to set.public int getIdcnt()
public void setIdcnt(int idcnt)
idcnt
- The idcnt to set.public java.util.Map<java.lang.String,SplitInfo> getSplitinfos()
public void setSplitinfos(java.util.Map<java.lang.String,SplitInfo> splitinfos)
splitinfos
- The splitinfos to set.