Package org.quartz.impl.matchers
Class GroupMatcher<T extends Key<?>>
- java.lang.Object
-
- org.quartz.impl.matchers.StringMatcher<T>
-
- org.quartz.impl.matchers.GroupMatcher<T>
-
- 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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.quartz.impl.matchers.StringMatcher
StringMatcher.StringOperatorName
-
-
Field Summary
-
Fields inherited from class org.quartz.impl.matchers.StringMatcher
compareTo, compareWith
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
GroupMatcher(java.lang.String compareTo, StringMatcher.StringOperatorName compareWith)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T extends Key<T>>
GroupMatcher<T>anyGroup()
Create a GroupMatcher that matches groups starting with the given string.static GroupMatcher<JobKey>
anyJobGroup()
Create a GroupMatcher that matches job groups starting with the given string.static GroupMatcher<TriggerKey>
anyTriggerGroup()
Create a GroupMatcher that matches trigger groups starting with the given string.protected java.lang.String
getValue(T key)
static <T extends Key<T>>
GroupMatcher<T>groupContains(java.lang.String compareTo)
Create a GroupMatcher that matches groups containing the given string.static <T extends Key<T>>
GroupMatcher<T>groupEndsWith(java.lang.String compareTo)
Create a GroupMatcher that matches groups ending with the given string.static <T extends Key<T>>
GroupMatcher<T>groupEquals(java.lang.String compareTo)
Create a GroupMatcher that matches groups equaling the given string.static <T extends Key<T>>
GroupMatcher<T>groupStartsWith(java.lang.String compareTo)
Create a GroupMatcher that matches groups starting with the given string.static GroupMatcher<JobKey>
jobGroupContains(java.lang.String compareTo)
Create a GroupMatcher that matches job groups containing the given string.static GroupMatcher<JobKey>
jobGroupEndsWith(java.lang.String compareTo)
Create a GroupMatcher that matches job groups ending with the given string.static GroupMatcher<JobKey>
jobGroupEquals(java.lang.String compareTo)
Create a GroupMatcher that matches job groups equaling the given string.static GroupMatcher<JobKey>
jobGroupStartsWith(java.lang.String compareTo)
Create a GroupMatcher that matches job groups starting with the given string.static GroupMatcher<TriggerKey>
triggerGroupContains(java.lang.String compareTo)
Create a GroupMatcher that matches trigger groups containing the given string.static GroupMatcher<TriggerKey>
triggerGroupEndsWith(java.lang.String compareTo)
Create a GroupMatcher that matches trigger groups ending with the given string.static GroupMatcher<TriggerKey>
triggerGroupEquals(java.lang.String compareTo)
Create a GroupMatcher that matches trigger groups equaling the given string.static GroupMatcher<TriggerKey>
triggerGroupStartsWith(java.lang.String compareTo)
Create a GroupMatcher that matches trigger groups starting with the given string.-
Methods inherited from class org.quartz.impl.matchers.StringMatcher
equals, getCompareToValue, getCompareWithOperator, hashCode, isMatch
-
-
-
-
Constructor Detail
-
GroupMatcher
protected GroupMatcher(java.lang.String compareTo, StringMatcher.StringOperatorName compareWith)
-
-
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.
-
getValue
protected java.lang.String getValue(T key)
- Specified by:
getValue
in classStringMatcher<T extends Key<?>>
-
-