org.jboss.dna.repository.sequencers
Class SequencingService.DefaultNodeFilter
java.lang.Object
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
|
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 |
SequencingService.DefaultNodeFilter
protected SequencingService.DefaultNodeFilter()
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.