org.shiftone.jrat.core.criteria
Class ClassMatcherMethodCriteria

java.lang.Object
  extended by org.shiftone.jrat.core.criteria.ClassMatcherMethodCriteria
All Implemented Interfaces:
MethodCriteria

public class ClassMatcherMethodCriteria
extends java.lang.Object
implements MethodCriteria

Author:
jeff@shiftone.org (Jeff Drost)

Field Summary
 
Fields inherited from interface org.shiftone.jrat.core.criteria.MethodCriteria
ALL, DEFAULT, NONE
 
Constructor Summary
ClassMatcherMethodCriteria(Matcher matcher)
           
 
Method Summary
 boolean isMatch(java.lang.String className, long modifier)
          should a class with these attributes be matched?
 boolean isMatch(java.lang.String className, java.lang.String methodName, java.lang.String signature, long modifier)
          should a method with these attributes be matched?
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClassMatcherMethodCriteria

public ClassMatcherMethodCriteria(Matcher matcher)
Method Detail

isMatch

public boolean isMatch(java.lang.String className,
                       long modifier)
Description copied from interface: MethodCriteria
should a class with these attributes be matched?

Specified by:
isMatch in interface MethodCriteria

isMatch

public boolean isMatch(java.lang.String className,
                       java.lang.String methodName,
                       java.lang.String signature,
                       long modifier)
Description copied from interface: MethodCriteria
should a method with these attributes be matched?

Specified by:
isMatch in interface MethodCriteria

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object