Class ListDateTimeMatcher

java.lang.Object
org.apache.nifi.util.text.ListDateTimeMatcher
All Implemented Interfaces:
DateTimeMatcher

class ListDateTimeMatcher extends Object implements DateTimeMatcher
An implementation of the DateTimeMatcher that accepts in its constructor a List of delegate DateTimeMatchers. This matcher will return true if and only if ALL matchers in the constructor return true for the same input.
  • Field Details

  • Constructor Details

  • Method Details

    • matches

      public boolean matches(String text)
      Description copied from interface: DateTimeMatcher
      Determines whether or not the text matches the pattern
      Specified by:
      matches in interface DateTimeMatcher
      Parameters:
      text - the text to evaluate
      Returns:
      true if the text matches the pattern, false otherwise