org.pf.tools.cda.core.dependency.analyzer
Class PackageDependantsDetector

java.lang.Object
  extended by org.pf.tools.cda.core.dependency.analyzer.AnalyzableElementDependantsDetector<ClassPackage>
      extended by org.pf.tools.cda.core.dependency.analyzer.PackageDependantsDetector
All Implemented Interfaces:
org.pf.bif.filter.IObjectFilter, IAnalyzableElementProcessor<ClassPackage>, IClassPackageProcessor, IMutableAnalyzableElementProcessor<ClassPackage>, IMutableClassPackageProcessor

public class PackageDependantsDetector
extends AnalyzableElementDependantsDetector<ClassPackage>
implements IMutableClassPackageProcessor

This class can be used to detect all packages in a workset that are depending on a specified package.

Version:
1.0
Author:
M.Duchrow

Constructor Summary
PackageDependantsDetector(IProgressMonitor progressMonitor, ClassPackage aPackage)
          Initialize the new instance with default values.
 
Method Summary
 boolean matches(java.lang.Object object)
          Returns false if the given object is no ClassPackage, otherwise it calls method matches(ClassPackage).
 
Methods inherited from class org.pf.tools.cda.core.dependency.analyzer.AnalyzableElementDependantsDetector
getAnalyzedElement, getExcludedElements, matches, process, setAnalyzedElement, setExcludedElements
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.pf.tools.cda.base.model.processing.IMutableAnalyzableElementProcessor
setAnalyzedElement, setExcludedElements
 
Methods inherited from interface org.pf.tools.cda.base.model.processing.IAnalyzableElementProcessor
matches, process
 

Constructor Detail

PackageDependantsDetector

public PackageDependantsDetector(IProgressMonitor progressMonitor,
                                 ClassPackage aPackage)
Initialize the new instance with default values.

Method Detail

matches

public boolean matches(java.lang.Object object)
Returns false if the given object is no ClassPackage, otherwise it calls method matches(ClassPackage).

Specified by:
matches in interface org.pf.bif.filter.IObjectFilter
Parameters:
object - The object to be checked against this ClassPackage filter