org.shiftone.jrat.core.criteria
Class ConstantMethodCriteria

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

public class ConstantMethodCriteria
extends java.lang.Object
implements MethodCriteria

Author:
jeff@shiftone.org (Jeff Drost)

Field Summary
static MethodCriteria ALL
           
static MethodCriteria NONE
           
 
Fields inherited from interface org.shiftone.jrat.core.criteria.MethodCriteria
DEFAULT
 
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
 

Field Detail

ALL

public static final MethodCriteria ALL

NONE

public static final MethodCriteria NONE
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