Package jadex.bpmn.runtime.persist
Class ThreadInfo
- java.lang.Object
- 
- jadex.bpmn.runtime.persist.ThreadInfo
 
- 
 public class ThreadInfo extends java.lang.ObjectThread info object.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.StringactivityidId of the next activity.protected booleancanceledIs the task canceled.protected java.util.Map<java.lang.String,java.lang.Object>dataThe data of the current or last activity.protected java.util.Map<java.lang.String,java.lang.Object>dataedgesThe data of the current data edges.protected java.lang.StringedgeidId of the last edge (if any).protected java.lang.ExceptionexceptionThe exception that has just occurred in the process (if any).protected java.lang.StringidId of the thread.protected intidcntThe id counter for sub processes.protected java.util.Map<java.lang.String,SplitInfo>splitinfosThe split infos.protected java.util.List<ThreadInfo>subthreadinfosSubthread infos.
 - 
Constructor SummaryConstructors Constructor Description ThreadInfo()Create a new ThreadInfo.ThreadInfo(ProcessThread thread)Create a new ThreadInfo.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetActivityid()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.StringgetEdgeid()Gets the edgeid.java.lang.ExceptiongetException()Gets the exception.java.lang.StringgetId()Gets the id.intgetIdcnt()Gets the idcnt.java.util.Map<java.lang.String,SplitInfo>getSplitinfos()Gets the splitinfos.java.util.List<ThreadInfo>getSubthreads()Gets the subthreads.booleanisCanceled()Gets the canceled.voidsetActivityid(java.lang.String activityid)Sets the activityid.voidsetCanceled(boolean canceled)Sets the canceled.voidsetData(java.util.Map<java.lang.String,java.lang.Object> data)Sets the data.voidsetDataedges(java.util.Map<java.lang.String,java.lang.Object> dataedges)Sets the dataedges.voidsetEdgeid(java.lang.String edgeid)Sets the edgeid.voidsetException(java.lang.Exception exception)Sets the exception.voidsetId(java.lang.String id)Sets the id.voidsetIdcnt(int idcnt)Sets the idcnt.voidsetSplitinfos(java.util.Map<java.lang.String,SplitInfo> splitinfos)Sets the splitinfos.voidsetSubthreads(java.util.List<ThreadInfo> subthreads)Sets the subthreads.
 
- 
- 
- 
Field Detail- 
idprotected java.lang.String id Id of the thread.
 - 
activityidprotected java.lang.String activityid Id of the next activity.
 - 
edgeidprotected java.lang.String edgeid Id of the last edge (if any).
 - 
dataprotected java.util.Map<java.lang.String,java.lang.Object> data The data of the current or last activity.
 - 
dataedgesprotected java.util.Map<java.lang.String,java.lang.Object> dataedges The data of the current data edges.
 - 
exceptionprotected java.lang.Exception exception The exception that has just occurred in the process (if any).
 - 
canceledprotected boolean canceled Is the task canceled.
 - 
idcntprotected int idcnt The id counter for sub processes.
 - 
splitinfosprotected java.util.Map<java.lang.String,SplitInfo> splitinfos The split infos.
 - 
subthreadinfosprotected java.util.List<ThreadInfo> subthreadinfos Subthread infos.
 
- 
 - 
Constructor Detail- 
ThreadInfopublic ThreadInfo() Create a new ThreadInfo.
 - 
ThreadInfopublic ThreadInfo(ProcessThread thread) Create a new ThreadInfo.
 
- 
 - 
Method Detail- 
getIdpublic java.lang.String getId() Gets the id.- Returns:
- The id.
 
 - 
setIdpublic void setId(java.lang.String id) Sets the id.- Parameters:
- id- The id to set.
 
 - 
getActivityidpublic java.lang.String getActivityid() Gets the activityid.- Returns:
- The activityid.
 
 - 
setActivityidpublic void setActivityid(java.lang.String activityid) Sets the activityid.- Parameters:
- activityid- The activityid to set.
 
 - 
getEdgeidpublic java.lang.String getEdgeid() Gets the edgeid.- Returns:
- The edgeid.
 
 - 
setEdgeidpublic void setEdgeid(java.lang.String edgeid) Sets the edgeid.- Parameters:
- edgeid- The edgeid to set.
 
 - 
getDatapublic java.util.Map<java.lang.String,java.lang.Object> getData() Gets the data.- Returns:
- The data.
 
 - 
setDatapublic void setData(java.util.Map<java.lang.String,java.lang.Object> data) Sets the data.- Parameters:
- data- The data to set.
 
 - 
getDataedgespublic java.util.Map<java.lang.String,java.lang.Object> getDataedges() Gets the dataedges.- Returns:
- The dataedges.
 
 - 
setDataedgespublic void setDataedges(java.util.Map<java.lang.String,java.lang.Object> dataedges) Sets the dataedges.- Parameters:
- dataedges- The dataedges to set.
 
 - 
getSubthreadspublic java.util.List<ThreadInfo> getSubthreads() Gets the subthreads.- Returns:
- The subthreads.
 
 - 
setSubthreadspublic void setSubthreads(java.util.List<ThreadInfo> subthreads) Sets the subthreads.- Parameters:
- subthreads- The subthreads to set.
 
 - 
getExceptionpublic java.lang.Exception getException() Gets the exception.- Returns:
- The exception.
 
 - 
setExceptionpublic void setException(java.lang.Exception exception) Sets the exception.- Parameters:
- exception- The exception to set.
 
 - 
isCanceledpublic boolean isCanceled() Gets the canceled.- Returns:
- The canceled.
 
 - 
setCanceledpublic void setCanceled(boolean canceled) Sets the canceled.- Parameters:
- canceled- The canceled to set.
 
 - 
getIdcntpublic int getIdcnt() Gets the idcnt.- Returns:
- The idcnt.
 
 - 
setIdcntpublic void setIdcnt(int idcnt) Sets the idcnt.- Parameters:
- idcnt- The idcnt to set.
 
 - 
getSplitinfospublic java.util.Map<java.lang.String,SplitInfo> getSplitinfos() Gets the splitinfos.- Returns:
- The splitinfos.
 
 - 
setSplitinfospublic void setSplitinfos(java.util.Map<java.lang.String,SplitInfo> splitinfos) Sets the splitinfos.- Parameters:
- splitinfos- The splitinfos to set.
 
 
- 
 
-