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
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.