org.shiftone.jrat.core.criteria
Class OrMethodCriteria

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

public class OrMethodCriteria
extends CompositeMethodCriteria

Author:
jeff@shiftone.org (Jeff Drost)

Field Summary
 
Fields inherited from interface org.shiftone.jrat.core.criteria.MethodCriteria
ALL, DEFAULT, NONE
 
Constructor Summary
OrMethodCriteria()
           
 
Method Summary
protected  java.lang.String getTag()
           
 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?
 
Methods inherited from class org.shiftone.jrat.core.criteria.CompositeMethodCriteria
addCriteria, clear, getCriterion, isEmpty, size, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OrMethodCriteria

public OrMethodCriteria()
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?


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?


getTag

protected java.lang.String getTag()
Specified by:
getTag in class CompositeMethodCriteria