Class ExtendedLogMetaRequest.MatchExpression

java.lang.Object
org.apache.hadoop.yarn.logaggregation.ExtendedLogMetaRequest.MatchExpression
Enclosing class:
ExtendedLogMetaRequest

public static class ExtendedLogMetaRequest.MatchExpression extends Object
Wraps a regex matcher.
  • Constructor Details

    • MatchExpression

      public MatchExpression(String expression)
  • Method Details

    • match

      public boolean match(String value)
      Matches the value on the expression.
      Parameters:
      value - value to be matched against
      Returns:
      result of the match or true, if no expression was defined
    • toString

      public String toString()
      Overrides:
      toString in class Object