Package org.shiftone.jrat.core.criteria

Examples of org.shiftone.jrat.core.criteria.NotMethodCriteria


          // there is also an include
          Matcher matcher = CompositeMatcher.buildCompositeGlobMatcher(includeString);
          and.addCriteria(new ClassMatcherMethodCriteria(matcher));
        }
        Matcher matcher = CompositeMatcher.buildCompositeGlobMatcher(excludeString);
        and.addCriteria(new NotMethodCriteria(new ClassMatcherMethodCriteria(matcher)));
      } else {
        // there is *only* an include
        Matcher matcher = CompositeMatcher.buildCompositeGlobMatcher(agentArg);
        and.addCriteria(new ClassMatcherMethodCriteria(matcher));
      }

    }

    if (Settings.isInjectorDefaultExcludesEnabled()) {
      Matcher matcher = CompositeMatcher.buildCompositeGlobMatcher(DEFAULT_EXCLUDES);
      and.addCriteria(new NotMethodCriteria(new ClassMatcherMethodCriteria(matcher)));
    }
    return and;
  }
View Full Code Here

TOP

Related Classes of org.shiftone.jrat.core.criteria.NotMethodCriteria

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.