站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss JBPM 3.0.4 API 英文版文档

LoggingInstance (jbpm-3.0.4) - JBoss JBPM 3.0.4 API 英文版文档


org.jbpm.logging.exe
Class LoggingInstance

java.lang.Object
  extended byorg.jbpm.module.exe.ModuleInstance
      extended byorg.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

Field Summary
 
Fields inherited from class org.jbpm.module.exe.ModuleInstance
processInstance
 
Constructor Summary
LoggingInstance()
           
 
Method Summary
 void addLog(ProcessLog processLog)
           
 void endCompositeLog()
           
 java.util.List getLogs()
           
 java.util.List getLogs(java.lang.Class filterClass)
          get logs, filetered by log type.
static java.util.List getLogs(java.util.Collection logs, java.lang.Class filterClass)
           
 void logLogs()
           
 void startCompositeLog(CompositeLog compositeLog)
           
 
Methods inherited from class org.jbpm.module.exe.ModuleInstance
getId, getProcessInstance, setProcessInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingInstance

public LoggingInstance()
Method Detail

startCompositeLog

public void startCompositeLog(CompositeLog compositeLog)

endCompositeLog

public void endCompositeLog()

addLog

public void addLog(ProcessLog processLog)

getLogs

public java.util.List getLogs()

getLogs

public java.util.List getLogs(java.lang.Class filterClass)
get logs, filetered by log type.


getLogs

public static java.util.List getLogs(java.util.Collection logs,
                                     java.lang.Class filterClass)

logLogs

public void logLogs()


Version : jbpm-3.0.4