Class MockMatcher

All Implemented Interfaces:
Matcher, Component, DestructableComponent, IdentifiedComponent, InitializableComponent

public class MockMatcher extends AbstractIdentifiedInitializableComponent implements Matcher
A simple, mock implementation of Matcher.
  • Field Details

    • matchingAttribute

      @Nullable private String matchingAttribute
      ID of the attribute to which this matcher applies.
    • matchingValues

      @Nullable private Collection<?> matchingValues
      Values, of the attribute, considered to match this matcher.
    • initialized

      private boolean initialized
      state variable
    • fails

      private boolean fails
      do we fail when validate is called? do we fail when we are called?
  • Constructor Details

    • MockMatcher

      public MockMatcher()
      Constructor.
  • Method Details