Package org.quartz.impl.matchers
Class KeyMatcher<T extends Key<?>>
- java.lang.Object
-
- org.quartz.impl.matchers.KeyMatcher<T>
-
- All Implemented Interfaces:
java.io.Serializable
,Matcher<T>
public class KeyMatcher<T extends Key<?>> extends java.lang.Object implements Matcher<T>
Matches on the complete key being equal (both name and group).- Author:
- jhouse
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
KeyMatcher(T compareTo)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
T
getCompareToValue()
int
hashCode()
boolean
isMatch(T key)
static <U extends Key<?>>
KeyMatcher<U>keyEquals(U compareTo)
Create a KeyMatcher that matches Keys that equal the given key.
-
-
-
Constructor Detail
-
KeyMatcher
protected KeyMatcher(T compareTo)
-
-
Method Detail
-
keyEquals
public static <U extends Key<?>> KeyMatcher<U> keyEquals(U compareTo)
Create a KeyMatcher that matches Keys that equal the given key.
-
getCompareToValue
public T getCompareToValue()
-
hashCode
public int hashCode()
-
-