net.sf.rej
Class ProjectIterator

java.lang.Object
  extended by net.sf.rej.ProjectIterator
All Implemented Interfaces:
java.lang.Runnable

public class ProjectIterator
extends java.lang.Object
implements java.lang.Runnable

Class that iterates through a Project, calling the Iterator agent for all the components of the Project.

Author:
Sami Koivu

Constructor Summary
ProjectIterator(Project project, IteratorAgent agent)
           
ProjectIterator(Project project, java.util.List<? super IteratorAgent> agents, IterationNotificationListener listener)
           
 
Method Summary
static void iterate(Project project, IteratorAgent agent)
           
static void iterate(Project project, java.util.List<? super IteratorAgent> agents, IterationNotificationListener listener)
           
 void processAttributes(IterationContext ic, Attributes attrs, IteratorAgent agent)
           
 void run()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectIterator

public ProjectIterator(Project project,
                       IteratorAgent agent)

ProjectIterator

public ProjectIterator(Project project,
                       java.util.List<? super IteratorAgent> agents,
                       IterationNotificationListener listener)
Method Detail

iterate

public static void iterate(Project project,
                           IteratorAgent agent)

iterate

public static void iterate(Project project,
                           java.util.List<? super IteratorAgent> agents,
                           IterationNotificationListener listener)

run

public void run()
Specified by:
run in interface java.lang.Runnable

processAttributes

public void processAttributes(IterationContext ic,
                              Attributes attrs,
                              IteratorAgent agent)