org.jbpm.pvm.internal.history
Class HistorySessionFilter

java.lang.Object
  extended by org.jbpm.pvm.internal.history.HistorySessionFilter
All Implemented Interfaces:
HistorySession

public class HistorySessionFilter
extends java.lang.Object
implements HistorySession

filtering log session.

Author:
Tom Baeyens

Field Summary
protected  HistorySession delegate
           
protected  java.lang.String type
           
 
Constructor Summary
HistorySessionFilter()
           
 
Method Summary
protected  boolean passes(HistoryEvent historyEvent)
          can be overwritten in case filtering needs to be more sophisticated then just type matching.
 void process(HistoryEvent historyEvent)
           
 void setDelegate(HistorySession delegate)
           
 void setType(java.lang.String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

delegate

protected HistorySession delegate

type

protected java.lang.String type
Constructor Detail

HistorySessionFilter

public HistorySessionFilter()
Method Detail

process

public void process(HistoryEvent historyEvent)
Specified by:
process in interface HistorySession

passes

protected boolean passes(HistoryEvent historyEvent)
can be overwritten in case filtering needs to be more sophisticated then just type matching.


setDelegate

public void setDelegate(HistorySession delegate)

setType

public void setType(java.lang.String type)


Copyright © 2010 JBoss Community. All Rights Reserved.