org.eclipse.emf.cdo.common.revision
Class CDORevisionHandler.Filtered

java.lang.Object
  extended by org.eclipse.emf.cdo.common.revision.CDORevisionHandler.Filtered
All Implemented Interfaces:
CDORevisionHandler
Direct Known Subclasses:
CDORevisionHandler.Filtered.Undetached
Enclosing interface:
CDORevisionHandler

public static class CDORevisionHandler.Filtered
extends Object
implements CDORevisionHandler

A delegating revision handler with a filter() method used to suppress specific revisions.

Since:
4.1

Nested Class Summary
static class CDORevisionHandler.Filtered.Undetached
          A delegating revision handler that filters detached revisions.
 
Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.common.revision.CDORevisionHandler
CDORevisionHandler.Filtered
 
Constructor Summary
CDORevisionHandler.Filtered(CDORevisionHandler delegate)
           
 
Method Summary
protected  boolean filter(CDORevision revision)
           
 boolean handleRevision(CDORevision revision)
          Handles a revision.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CDORevisionHandler.Filtered

public CDORevisionHandler.Filtered(CDORevisionHandler delegate)
Method Detail

handleRevision

public final boolean handleRevision(CDORevision revision)
Description copied from interface: CDORevisionHandler
Handles a revision.

Specified by:
handleRevision in interface CDORevisionHandler
Returns:
true to indicate that the caller may pass more revisions, false otherwise.

filter

protected boolean filter(CDORevision revision)


Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.