org.deptool.collection
Class AbstractDependencyCollection

java.lang.Object
  extended by org.deptool.ProgressNotifier
      extended by org.deptool.collection.AbstractDependencyCollection
All Implemented Interfaces:
DependencyCollection
Direct Known Subclasses:
CachedRemoteRepositoryDependencyCollection, FileDependencyCollection, XMLDependencyCollection

public abstract class AbstractDependencyCollection
extends ProgressNotifier
implements DependencyCollection

The base class for all the DependencyCollection implementations

Author:
cbozic

Field Summary
 
Fields inherited from class org.deptool.ProgressNotifier
currentState, progressListeners
 
Constructor Summary
AbstractDependencyCollection()
           
 
Method Summary
 java.lang.String getCollectionLocation()
           
 java.util.HashSet<Dependency> getDependencies()
           
protected abstract  java.util.HashSet<Dependency> loadDependencies()
          Called once to get the initial dependency list
 void reset()
           
 void setCollectionLocation(java.lang.String collectionLocation)
           
 
Methods inherited from class org.deptool.ProgressNotifier
addProgressEventListener, fireProgressEvent, getCurrentProgress, removeProgressEventListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDependencyCollection

public AbstractDependencyCollection()
Method Detail

loadDependencies

protected abstract java.util.HashSet<Dependency> loadDependencies()
Called once to get the initial dependency list

Returns:

getDependencies

public java.util.HashSet<Dependency> getDependencies()
Specified by:
getDependencies in interface DependencyCollection

getCollectionLocation

public java.lang.String getCollectionLocation()
Specified by:
getCollectionLocation in interface DependencyCollection

setCollectionLocation

public void setCollectionLocation(java.lang.String collectionLocation)

reset

public void reset()
Specified by:
reset in interface DependencyCollection


Copyright © 2006 . All Rights Reserved.