org.jbpm.pvm.internal.history
Class HistoryEvent

java.lang.Object
  extended by org.jbpm.pvm.internal.history.HistoryEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ActivityEnd, ActivityStart, ProcessInstanceCreate, ProcessInstanceEnd, ProcessInstanceMigration, TaskActivityStart, TaskAssign, TaskComplete, TaskCreated, TaskUpdated, VariableCreate, VariableUpdate

public abstract class HistoryEvent
extends java.lang.Object
implements java.io.Serializable

base class for process logs. Process logs are dispatched to the HistorySession 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, Huisheng Xu
See Also:
Serialized Form

Field Summary
protected  ExecutionImpl execution
           
 
Constructor Summary
HistoryEvent()
           
 
Method Summary
static void fire(HistoryEvent historyEvent)
           
static void fire(HistoryEvent historyEvent, ExecutionImpl execution)
           
 ExecutionImpl getExecution()
           
abstract  void process()
           
 void setExecution(ExecutionImpl execution)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

execution

protected ExecutionImpl execution
Constructor Detail

HistoryEvent

public HistoryEvent()
Method Detail

getExecution

public ExecutionImpl getExecution()

setExecution

public void setExecution(ExecutionImpl execution)

process

public abstract void process()

fire

public static void fire(HistoryEvent historyEvent)

fire

public static void fire(HistoryEvent historyEvent,
                        ExecutionImpl execution)


Copyright © 2010 JBoss Community. All Rights Reserved.