Class GroupMatcher<T extends Key<?>>

  • All Implemented Interfaces:
    java.io.Serializable, Matcher<T>

    public class GroupMatcher<T extends Key<?>>
    extends StringMatcher<T>
    Matches on group (ignores name) property of Keys.
    Author:
    jhouse
    See Also:
    Serialized Form
    • Method Detail

      • groupEquals

        public static <T extends Key<T>> GroupMatcher<T> groupEquals​(java.lang.String compareTo)
        Create a GroupMatcher that matches groups equaling the given string.
      • jobGroupEquals

        public static GroupMatcher<JobKey> jobGroupEquals​(java.lang.String compareTo)
        Create a GroupMatcher that matches job groups equaling the given string.
      • triggerGroupEquals

        public static GroupMatcher<TriggerKey> triggerGroupEquals​(java.lang.String compareTo)
        Create a GroupMatcher that matches trigger groups equaling the given string.
      • groupStartsWith

        public static <T extends Key<T>> GroupMatcher<T> groupStartsWith​(java.lang.String compareTo)
        Create a GroupMatcher that matches groups starting with the given string.
      • jobGroupStartsWith

        public static GroupMatcher<JobKey> jobGroupStartsWith​(java.lang.String compareTo)
        Create a GroupMatcher that matches job groups starting with the given string.
      • triggerGroupStartsWith

        public static GroupMatcher<TriggerKey> triggerGroupStartsWith​(java.lang.String compareTo)
        Create a GroupMatcher that matches trigger groups starting with the given string.
      • groupEndsWith

        public static <T extends Key<T>> GroupMatcher<T> groupEndsWith​(java.lang.String compareTo)
        Create a GroupMatcher that matches groups ending with the given string.
      • jobGroupEndsWith

        public static GroupMatcher<JobKey> jobGroupEndsWith​(java.lang.String compareTo)
        Create a GroupMatcher that matches job groups ending with the given string.
      • triggerGroupEndsWith

        public static GroupMatcher<TriggerKey> triggerGroupEndsWith​(java.lang.String compareTo)
        Create a GroupMatcher that matches trigger groups ending with the given string.
      • groupContains

        public static <T extends Key<T>> GroupMatcher<T> groupContains​(java.lang.String compareTo)
        Create a GroupMatcher that matches groups containing the given string.
      • jobGroupContains

        public static GroupMatcher<JobKey> jobGroupContains​(java.lang.String compareTo)
        Create a GroupMatcher that matches job groups containing the given string.
      • triggerGroupContains

        public static GroupMatcher<TriggerKey> triggerGroupContains​(java.lang.String compareTo)
        Create a GroupMatcher that matches trigger groups containing the given string.
      • anyGroup

        public static <T extends Key<T>> GroupMatcher<T> anyGroup()
        Create a GroupMatcher that matches groups starting with the given string.
      • anyJobGroup

        public static GroupMatcher<JobKey> anyJobGroup()
        Create a GroupMatcher that matches job groups starting with the given string.
      • anyTriggerGroup

        public static GroupMatcher<TriggerKey> anyTriggerGroup()
        Create a GroupMatcher that matches trigger groups starting with the given string.