Package jadex.bpmn.tools
Class ProcessThreadInfo
- java.lang.Object
-
- jadex.bpmn.tools.ProcessThreadInfo
-
public class ProcessThreadInfo extends java.lang.Object
Visualization data about a process thread.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
actid
The activity id.protected java.lang.String
activity
The activity name.protected java.lang.String
data
The data of the process.protected java.lang.String
edges
The data edges of the process.protected java.lang.String
exception
The exception that has just occurred in the process (if any).protected java.lang.String
id
The thread that executed this activity.protected java.lang.String
lane
The lane name.protected java.lang.String
parentid
The parent id.protected java.lang.String
pool
The pool name.protected boolean
waiting
Is 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 boolean
equals(java.lang.Object obj)
Test if two objects are equal.java.lang.String
getActId()
Get the actid.java.lang.String
getActivity()
Get the activity.java.lang.String
getData()
Get the data.void
getData(java.lang.String data)
Set the data.java.lang.String
getEdges()
Get the edges.java.lang.String
getException()
Get the exception.java.lang.String
getLane()
Get the lane.java.lang.String
getParentId()
Get the parentid.java.lang.String
getPool()
Get the pool.java.lang.String
getThreadId()
Get the thread id.int
hashCode()
Get the hashcodeboolean
isWaiting()
Get the waiting flag.void
setActId(java.lang.String actid)
Set the actid.void
setActivity(java.lang.String activity)
Set the activity.void
setEdges(java.lang.String edges)
Set the edges.void
setException(java.lang.String exception)
Set the exception.void
setLane(java.lang.String lane)
Set the lane.void
setParentId(java.lang.String parentid)
Set the parentid.void
setPool(java.lang.String pool)
Set the pool.void
setThreadId(java.lang.String id)
Set the thread id.void
setWaiting(boolean waiting)
Set the waiting flag.java.lang.String
toString()
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:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
Test if two objects are equal.- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Get the hashcode- Overrides:
hashCode
in classjava.lang.Object
-
-