org.quartz.impl.matchers
Class KeyMatcher<T extends Key<?>>
java.lang.Object
   org.quartz.impl.matchers.KeyMatcher<T>
org.quartz.impl.matchers.KeyMatcher<T>
- All Implemented Interfaces: 
- Serializable, Matcher<T>
- public class KeyMatcher<T extends Key<?>> 
- extends Object- implements Matcher<T>
Matches on the complete key being equal (both name and group).
- Author:
- jhouse
- See Also:
- Serialized Form
 
 
 
 
compareTo
protected T extends Key<?> compareTo
KeyMatcher
protected KeyMatcher(T compareTo)
keyEquals
public static <U extends Key<?>> KeyMatcher<U> keyEquals(U compareTo)
- Create a KeyMatcher that matches Keys that equal the given key.
 
- 
 
- 
 
isMatch
public boolean isMatch(T key)
- 
- Specified by:
- isMatchin interface- Matcher<T extends Key<?>>
 
- 
 
getCompareToValue
public T getCompareToValue()
- 
 
- 
 
hashCode
public int hashCode()
- 
- Specified by:
- hashCodein interface- Matcher<T extends Key<?>>
- Overrides:
- hashCodein class- Object
 
- 
 
equals
public boolean equals(Object obj)
- 
- Specified by:
- equalsin interface- Matcher<T extends Key<?>>
- Overrides:
- equalsin class- Object
 
- 
 
Copyright 2001-2019, Terracotta, Inc.