org.shiftone.jrat.core.config
Class Profile

java.lang.Object
  extended by org.shiftone.jrat.core.config.Profile
All Implemented Interfaces:
MethodCriteria

public class Profile
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
Profile()
           
 
Method Summary
 MatcherMethodCriteria createExclude()
           
 Handler createFactory()
           
 MatcherMethodCriteria createInclude()
           
 java.util.List getFactories()
           
 java.lang.String getName()
           
 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?
 void setName(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Profile

public Profile()
Method Detail

createInclude

public MatcherMethodCriteria createInclude()

createExclude

public MatcherMethodCriteria createExclude()

createFactory

public Handler createFactory()

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

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getFactories

public java.util.List getFactories()