Class ThreadInfo


  • public class ThreadInfo
    extends java.lang.Object
    Thread info object.
    • Field Summary

      Fields 
      Modifier and Type Field 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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • id

        protected java.lang.String id
        Id of the thread.
      • activityid

        protected java.lang.String activityid
        Id of the next activity.
      • edgeid

        protected java.lang.String edgeid
        Id of the last edge (if any).
      • data

        protected java.util.Map<java.lang.String,​java.lang.Object> data
        The data of the current or last activity.
      • dataedges

        protected java.util.Map<java.lang.String,​java.lang.Object> dataedges
        The data of the current data edges.
      • exception

        protected java.lang.Exception exception
        The exception that has just occurred in the process (if any).
      • canceled

        protected boolean canceled
        Is the task canceled.
      • idcnt

        protected int idcnt
        The id counter for sub processes.
      • splitinfos

        protected java.util.Map<java.lang.String,​SplitInfo> splitinfos
        The split infos.
      • subthreadinfos

        protected java.util.List<ThreadInfo> subthreadinfos
        Subthread infos.
    • Constructor Detail

      • ThreadInfo

        public ThreadInfo()
        Create a new ThreadInfo.
      • ThreadInfo

        public ThreadInfo​(ProcessThread thread)
        Create a new ThreadInfo.
    • Method Detail

      • getId

        public java.lang.String getId()
        Gets the id.
        Returns:
        The id.
      • setId

        public void setId​(java.lang.String id)
        Sets the id.
        Parameters:
        id - The id to set.
      • getActivityid

        public java.lang.String getActivityid()
        Gets the activityid.
        Returns:
        The activityid.
      • setActivityid

        public void setActivityid​(java.lang.String activityid)
        Sets the activityid.
        Parameters:
        activityid - The activityid to set.
      • getEdgeid

        public java.lang.String getEdgeid()
        Gets the edgeid.
        Returns:
        The edgeid.
      • setEdgeid

        public void setEdgeid​(java.lang.String edgeid)
        Sets the edgeid.
        Parameters:
        edgeid - The edgeid to set.
      • getData

        public java.util.Map<java.lang.String,​java.lang.Object> getData()
        Gets the data.
        Returns:
        The data.
      • setData

        public void setData​(java.util.Map<java.lang.String,​java.lang.Object> data)
        Sets the data.
        Parameters:
        data - The data to set.
      • getDataedges

        public java.util.Map<java.lang.String,​java.lang.Object> getDataedges()
        Gets the dataedges.
        Returns:
        The dataedges.
      • setDataedges

        public void setDataedges​(java.util.Map<java.lang.String,​java.lang.Object> dataedges)
        Sets the dataedges.
        Parameters:
        dataedges - The dataedges to set.
      • getSubthreads

        public java.util.List<ThreadInfo> getSubthreads()
        Gets the subthreads.
        Returns:
        The subthreads.
      • setSubthreads

        public void setSubthreads​(java.util.List<ThreadInfo> subthreads)
        Sets the subthreads.
        Parameters:
        subthreads - The subthreads to set.
      • getException

        public java.lang.Exception getException()
        Gets the exception.
        Returns:
        The exception.
      • setException

        public void setException​(java.lang.Exception exception)
        Sets the exception.
        Parameters:
        exception - The exception to set.
      • isCanceled

        public boolean isCanceled()
        Gets the canceled.
        Returns:
        The canceled.
      • setCanceled

        public void setCanceled​(boolean canceled)
        Sets the canceled.
        Parameters:
        canceled - The canceled to set.
      • getIdcnt

        public int getIdcnt()
        Gets the idcnt.
        Returns:
        The idcnt.
      • setIdcnt

        public void setIdcnt​(int idcnt)
        Sets the idcnt.
        Parameters:
        idcnt - The idcnt to set.
      • getSplitinfos

        public java.util.Map<java.lang.String,​SplitInfo> getSplitinfos()
        Gets the splitinfos.
        Returns:
        The splitinfos.
      • setSplitinfos

        public void setSplitinfos​(java.util.Map<java.lang.String,​SplitInfo> splitinfos)
        Sets the splitinfos.
        Parameters:
        splitinfos - The splitinfos to set.