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
Method Summary |
protected java.lang.String |
getValue(T key)
|
static GroupMatcher |
groupContains(java.lang.String compareTo)
Create a GroupMatcher that matches groups containing the given string. |
static GroupMatcher |
groupEndsWith(java.lang.String compareTo)
Create a GroupMatcher that matches groups ending with the given string. |
static GroupMatcher |
groupEquals(java.lang.String compareTo)
Create a GroupMatcher that matches groups equaling the given string. |
static GroupMatcher |
groupStartsWith(java.lang.String compareTo)
Create a GroupMatcher that matches groups starting with the given string. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
GroupMatcher
protected GroupMatcher(java.lang.String compareTo,
StringMatcher.StringOperatorName compareWith)
groupEquals
public static GroupMatcher groupEquals(java.lang.String compareTo)
- Create a GroupMatcher that matches groups equaling the given string.
groupStartsWith
public static GroupMatcher groupStartsWith(java.lang.String compareTo)
- Create a GroupMatcher that matches groups starting with the given string.
groupEndsWith
public static GroupMatcher groupEndsWith(java.lang.String compareTo)
- Create a GroupMatcher that matches groups ending with the given string.
groupContains
public static GroupMatcher groupContains(java.lang.String compareTo)
- Create a GroupMatcher that matches groups containing the given string.
getValue
protected java.lang.String getValue(T key)
- Specified by:
getValue
in class StringMatcher<T extends Key>
Copyright 2001-2019, Terracotta, Inc.