Class RuleUtil.RuleMatcher

java.lang.Object
org.apache.maven.plugins.checkstyle.RuleUtil.RuleMatcher
All Implemented Interfaces:
RuleUtil.Matcher
Enclosing class:
RuleUtil

private static class RuleUtil.RuleMatcher extends Object implements RuleUtil.Matcher
  • Field Details

    • rule

      private final String rule
  • Constructor Details

    • RuleMatcher

      RuleMatcher(String rule)
  • Method Details

    • match

      public boolean match(String eventSrcName)
      Description copied from interface: RuleUtil.Matcher
      Does the event source name match?
      Specified by:
      match in interface RuleUtil.Matcher
      Parameters:
      eventSrcName - the event source name
      Returns:
      boolean