Package de.xima.fc.timing
Class NameMatcher<T extends org.quartz.utils.Key<?>>
java.lang.Object
org.quartz.impl.matchers.StringMatcher<T>
de.xima.fc.timing.NameMatcher<T>
- Type Parameters:
T
- Type of the keys (trigger or job key) to match.
- All Implemented Interfaces:
Serializable
,org.quartz.Matcher<T>
public class NameMatcher<T extends org.quartz.utils.Key<?>>
extends org.quartz.impl.matchers.StringMatcher<T>
Matches on name (ignores group) property of Keys.
- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.quartz.impl.matchers.StringMatcher
org.quartz.impl.matchers.StringMatcher.StringOperatorName
-
Field Summary
Fields inherited from class org.quartz.impl.matchers.StringMatcher
compareTo, compareWith
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
NameMatcher
(String compareTo, org.quartz.impl.matchers.StringMatcher.StringOperatorName compareWith) -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends org.quartz.utils.Key<T>>
NameMatcher<T>anyGroup()
static NameMatcher<org.quartz.JobKey>
static NameMatcher<org.quartz.TriggerKey>
protected String
static <T extends org.quartz.utils.Key<T>>
NameMatcher<T>groupContains
(String compareTo) static <T extends org.quartz.utils.Key<T>>
NameMatcher<T>groupEndsWith
(String compareTo) static <T extends org.quartz.utils.Key<T>>
NameMatcher<T>groupEquals
(String compareTo) static <T extends org.quartz.utils.Key<T>>
NameMatcher<T>groupStartsWith
(String compareTo) static NameMatcher<org.quartz.JobKey>
jobGroupContains
(String compareTo) static NameMatcher<org.quartz.JobKey>
jobGroupEndsWith
(String compareTo) static NameMatcher<org.quartz.JobKey>
jobGroupEquals
(String compareTo) static NameMatcher<org.quartz.JobKey>
jobGroupStartsWith
(String compareTo) static NameMatcher<org.quartz.TriggerKey>
triggerGroupContains
(String compareTo) static NameMatcher<org.quartz.TriggerKey>
triggerGroupEndsWith
(String compareTo) static NameMatcher<org.quartz.TriggerKey>
triggerGroupEquals
(String compareTo) static NameMatcher<org.quartz.TriggerKey>
triggerGroupStartsWith
(String compareTo) Methods inherited from class org.quartz.impl.matchers.StringMatcher
equals, getCompareToValue, getCompareWithOperator, hashCode, isMatch
-
Constructor Details
-
NameMatcher
protected NameMatcher(String compareTo, org.quartz.impl.matchers.StringMatcher.StringOperatorName compareWith)
-
-
Method Details
-
getValue
- Specified by:
getValue
in classorg.quartz.impl.matchers.StringMatcher<T extends org.quartz.utils.Key<?>>
-
anyGroup
- Returns:
- A NameMatcher that matches groups starting with the given string.
-
anyJobGroup
- Returns:
- A NameMatcher that matches job groups starting with the given string.
-
anyTriggerGroup
- Returns:
- A NameMatcher that matches trigger groups starting with the given string.
-
groupContains
- Type Parameters:
T
- Type of the keys (trigger or job key) to match.- Parameters:
compareTo
- Value that must be contained in the key's name.- Returns:
- A NameMatcher that matches groups containing the given string.
-
groupEndsWith
- Type Parameters:
T
- Type of the keys (trigger or job key) to match.- Parameters:
compareTo
- Value on which the key's name must end.- Returns:
- A NameMatcher that matches groups ending with the given string.
-
groupEquals
- Type Parameters:
T
- Type of the keys (trigger or job key) to match.- Parameters:
compareTo
- Value to which the key's name must be equal.- Returns:
- A NameMatcher that matches groups equaling the given string.
-
groupStartsWith
- Type Parameters:
T
- Type of the keys (trigger or job key) to match.- Parameters:
compareTo
- Value the key's name must start with.- Returns:
- A NameMatcher that matches groups starting with the given string.
-
jobGroupContains
- Parameters:
compareTo
- Value that must be contained in the key's name.- Returns:
- A NameMatcher that matches job groups containing the given string.
-
jobGroupEndsWith
- Parameters:
compareTo
- Value on which the key's name must end.- Returns:
- A NameMatcher that matches job groups ending with the given string.
-
jobGroupEquals
- Parameters:
compareTo
- Value to which the key's name must be equal.- Returns:
- A NameMatcher that matches job groups equaling the given string.
-
jobGroupStartsWith
- Parameters:
compareTo
- Value the key's name must start with.- Returns:
- A NameMatcher that matches job groups starting with the given string.
-
triggerGroupContains
- Parameters:
compareTo
- Value that must be contained in the key's name.- Returns:
- A NameMatcher that matches trigger groups containing the given string.
-
triggerGroupEndsWith
- Parameters:
compareTo
- Value on which the key's name must end.- Returns:
- A NameMatcher that matches trigger groups ending with the given string.
-
triggerGroupEquals
- Parameters:
compareTo
- Value to which the key's name must be equal.- Returns:
- A NameMatcher that matches trigger groups equaling the given string.
-
triggerGroupStartsWith
- Parameters:
compareTo
- Value the key's name must start with.- Returns:
- A NameMatcher that matches trigger groups starting with the given string.
-