org.jbpm.pvm.processlog
Class ProcessLogImpl
Object
ProcessLogImpl
- All Implemented Interfaces:
- Serializable, ProcessLog
public abstract class ProcessLogImpl
- extends Object
- implements Serializable, ProcessLog
base class for process logs. Process logs are dispatched to the
LogSession that is configured in the environment.
ProcessLogs that are send to a LogSession is the probe mechanism
provided to listen into the process execution progress and details.
It is the mechanism to collect process history and process statistics.
- Author:
- Tom Baeyens
- See Also:
- Serialized Form
| Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
dbid
protected long dbid
index
protected int index
time
protected Date time
execution
protected Execution execution
processInstance
protected Execution processInstance
ProcessLogImpl
public ProcessLogImpl()
setExecution
public void setExecution(ExecutionImpl execution)
getType
public abstract String getType()
- text id of the type of this process log used for
XML serialization.
- Specified by:
getType in interface ProcessLog
getProperties
public abstract List<ProcessLogProperty> getProperties()
- xml representation of the process log properties
used for XML serialization. Properties time, execution
and processInstance should not be included. This method
is made abstract to remind and encourage
implementors to provide XML serialization capabilities to
the fixed process log XML schema. But it is allowed to
return null if XML serialisation if you're sure that
XML serialization will never be necessary.
- Specified by:
getProperties in interface ProcessLog
toString
public String toString()
- provides a text description for this update
which can be used e.g. in the admin web console.
This texts hould not contain time, execution
nor processInstance.
The default implementation will include the
type and then append all the top
level properties.
- Specified by:
toString in interface ProcessLog- Overrides:
toString in class Object
getDbid
public long getDbid()
- Specified by:
getDbid in interface ProcessLog
getTime
public Date getTime()
- Specified by:
getTime in interface ProcessLog
setTime
public void setTime(Date date)
- Specified by:
setTime in interface ProcessLog
getExecution
public Execution getExecution()
- Specified by:
getExecution in interface ProcessLog
getIndex
public int getIndex()
getProcessInstance
public Execution getProcessInstance()
- Specified by:
getProcessInstance in interface ProcessLog
setIndex
public void setIndex(int index)
Copyright © 2008 JBoss, a division of Red Hat. All Rights Reserved.