org.jboss.dna.repository.observation
Class NodeChanges
java.lang.Object
org.jboss.dna.repository.observation.NodeChanges
- All Implemented Interfaces:
- Iterable<NodeChange>
public class NodeChanges
- extends Object
- implements Iterable<NodeChange>
A utility class that builds node changes from a sequence of events.
- Author:
- Randall Hauch
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PRE_ORDER
protected static final Comparator<NodeChange> PRE_ORDER
NodeChanges
protected NodeChanges(List<NodeChange> changes)
create
public static NodeChanges create(String repositoryWorkspaceName,
Iterable<javax.jcr.observation.Event> events)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
iterator
public Iterator<NodeChange> iterator()
-
- Specified by:
iterator in interface Iterable<NodeChange>
getPreOrder
public Iterator<NodeChange> getPreOrder()
size
public int size()
Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.