com.jeantessier.dependency
Class CollectionSelectionCriteria

java.lang.Object
  |
  +--com.jeantessier.dependency.CollectionSelectionCriteria
All Implemented Interfaces:
SelectionCriteria

public class CollectionSelectionCriteria
extends java.lang.Object
implements SelectionCriteria


Constructor Summary
CollectionSelectionCriteria(java.util.Collection include, java.util.Collection exclude)
           
 
Method Summary
 boolean isMatchingClasses()
           
 boolean isMatchingFeatures()
           
 boolean isMatchingPackages()
           
 boolean matches(ClassNode node)
           
 boolean matches(FeatureNode node)
           
 boolean matches(PackageNode node)
           
 boolean matchesClassName(java.lang.String name)
           
 boolean matchesFeatureName(java.lang.String name)
           
 boolean matchesPackageName(java.lang.String name)
           
 void setMatchingClasses(boolean matchingClasses)
           
 void setMatchingFeatures(boolean matchingFeatures)
           
 void setMatchingPackages(boolean matchingPackages)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionSelectionCriteria

public CollectionSelectionCriteria(java.util.Collection include,
                                   java.util.Collection exclude)
Method Detail

isMatchingPackages

public boolean isMatchingPackages()
Specified by:
isMatchingPackages in interface SelectionCriteria

setMatchingPackages

public void setMatchingPackages(boolean matchingPackages)

isMatchingClasses

public boolean isMatchingClasses()
Specified by:
isMatchingClasses in interface SelectionCriteria

setMatchingClasses

public void setMatchingClasses(boolean matchingClasses)

isMatchingFeatures

public boolean isMatchingFeatures()
Specified by:
isMatchingFeatures in interface SelectionCriteria

setMatchingFeatures

public void setMatchingFeatures(boolean matchingFeatures)

matches

public boolean matches(PackageNode node)
Specified by:
matches in interface SelectionCriteria

matches

public boolean matches(ClassNode node)
Specified by:
matches in interface SelectionCriteria

matches

public boolean matches(FeatureNode node)
Specified by:
matches in interface SelectionCriteria

matchesPackageName

public boolean matchesPackageName(java.lang.String name)
Specified by:
matchesPackageName in interface SelectionCriteria

matchesClassName

public boolean matchesClassName(java.lang.String name)
Specified by:
matchesClassName in interface SelectionCriteria

matchesFeatureName

public boolean matchesFeatureName(java.lang.String name)
Specified by:
matchesFeatureName in interface SelectionCriteria


Dependency Finder 1.1.0 © 2001-2004 Jean Tessier.