ca.infoway.messagebuilder.j5goodies
Interface ClassPredicate

Package class diagram package ClassPredicate

public interface ClassPredicate

An interface used when scanning jars for "interesting" classes. We can decide that a class is interesting based on either the class name (which doesn't require that the class be loaded) or attributes of the class itself (such as annotations or things that can be determined by reflection).

Author:
Intelliware Development

Method Summary
 boolean isSelected(Class<?> c)
          Determine if the class is interesting.
 boolean isSelected(String packageName, String className)
          Determine if the class is interesting, based on package name and class name.
 

Method Detail

isSelected

boolean isSelected(String packageName,
                   String className)

Determine if the class is interesting, based on package name and class name.

Parameters:
packageName - - the package name of the class.
className - - the name of the class.
Returns:
- true if the class is interesting; false otherwise.

isSelected

boolean isSelected(Class<?> c)

Determine if the class is interesting.

Parameters:
c - - the class.
Returns:
- true if the class is interesting; false otherwise.


Copyright © 2013. All Rights Reserved.