Class OrIdMatcher

  • All Implemented Interfaces:
    IdMatcher

    public final class OrIdMatcher
    extends Object
    implements IdMatcher
    A wrapper around a collection of IdMatchers. A match occurs if any matcher matches.
    • Method Detail

      • matches

        public boolean matches​(String id)
        Description copied from interface: IdMatcher
        Returns true if the provided input id matches the pattern defined by this matcher instance.
        Specified by:
        matches in interface IdMatcher
        Parameters:
        id - the fully qualified id
        Returns:
        true on match, false otherwise