org.jboss.dna.repository.observation
Class NodeChanges

java.lang.Object
  extended by 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

Method Summary
static NodeChanges create(String repositoryWorkspaceName, Iterable<javax.jcr.observation.Event> events)
           
 Iterator<NodeChange> getPreOrder()
           
 Iterator<NodeChange> iterator()
          
 int size()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.