|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
org.quartz.impl.matchers Class NameMatcher<T extends Key>
java.lang.Object org.quartz.impl.matchers.StringMatcher<T> org.quartz.impl.matchers.NameMatcher<T>
- All Implemented Interfaces:
- Serializable, Matcher<T>
public class NameMatcher<T extends Key>
- extends StringMatcher<T>
Matches on name (ignores group) 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 | |
---|---|
protected |
NameMatcher(String compareTo,
StringMatcher.StringOperatorName compareWith)
|
Method Summary | |
---|---|
protected String |
getValue(T key)
|
static NameMatcher |
nameContains(String compareTo)
Create a NameMatcher that matches names containing the given string. |
static NameMatcher |
nameEndsWith(String compareTo)
Create a NameMatcher that matches names ending with the given string. |
static NameMatcher |
nameEquals(String compareTo)
Create a NameMatcher that matches names equaling the given string. |
static NameMatcher |
nameStartsWith(String compareTo)
Create a NameMatcher that matches names starting with the given string. |
Methods inherited from class org.quartz.impl.matchers.StringMatcher |
---|
equals, getCompareToValue, getCompareWithOperator, hashCode, isMatch |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
NameMatcher
protected NameMatcher(String compareTo, StringMatcher.StringOperatorName compareWith)
Method Detail |
---|
nameEquals
public static NameMatcher nameEquals(String compareTo)
- Create a NameMatcher that matches names equaling the given string.
nameStartsWith
public static NameMatcher nameStartsWith(String compareTo)
- Create a NameMatcher that matches names starting with the given string.
nameEndsWith
public static NameMatcher nameEndsWith(String compareTo)
- Create a NameMatcher that matches names ending with the given string.
nameContains
public static NameMatcher nameContains(String compareTo)
- Create a NameMatcher that matches names containing the given string.
getValue
protected String getValue(T key)
- Specified by:
getValue
in classStringMatcher<T extends Key>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2001-2011, Terracotta, Inc.