org.jboss.dna.repository.sequencers
Class SequencingService.DefaultNodeFilter

java.lang.Object
  extended by org.jboss.dna.repository.sequencers.SequencingService.DefaultNodeFilter
All Implemented Interfaces:
SequencingService.NodeFilter
Enclosing class:
SequencingService

protected static class SequencingService.DefaultNodeFilter
extends Object
implements SequencingService.NodeFilter

The default filter implementation, which accepts only new nodes or nodes that have new or changed properties.

Author:
Randall Hauch

Constructor Summary
protected SequencingService.DefaultNodeFilter()
           
 
Method Summary
 boolean accept(NodeChange nodeChange)
          Determine whether the node represented by the supplied change should be submitted for sequencing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequencingService.DefaultNodeFilter

protected SequencingService.DefaultNodeFilter()
Method Detail

accept

public boolean accept(NodeChange nodeChange)
Description copied from interface: SequencingService.NodeFilter
Determine whether the node represented by the supplied change should be submitted for sequencing.

Specified by:
accept in interface SequencingService.NodeFilter
Parameters:
nodeChange - the node change event
Returns:
true if the node should be submitted for sequencing, or false if the change should be ignored


Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.