org.jbpm.logging.exe
Class LoggingInstance
java.lang.Object
org.jbpm.module.exe.ModuleInstance
org.jbpm.logging.exe.LoggingInstance
- All Implemented Interfaces:
- java.io.Serializable
public class LoggingInstance
- extends ModuleInstance
non persisted class that collects ProcessLogs during process
execution. When the process instance gets saved, the process logs will be saved by the
LoggingSession.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggingInstance
public LoggingInstance()
startCompositeLog
public void startCompositeLog(CompositeLog compositeLog)
endCompositeLog
public void endCompositeLog()
addLog
public void addLog(ProcessLog processLog)
getLogs
public java.util.List<ProcessLog> getLogs()
getLogs
public <L extends ProcessLog> java.util.List<L> getLogs(java.lang.Class<L> logType)
- get logs, filtered by log type.
getLogs
public static <L extends ProcessLog> java.util.List<L> getLogs(java.util.Collection<ProcessLog> logs,
java.lang.Class<L> logType)
logLogs
public void logLogs()
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.