org.quartz.impl.matchers
Class KeyMatcher<T extends Key<?>>
java.lang.Object
  
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:
 isMatch in interface Matcher<T extends Key<?>>
 
 
getCompareToValue
public T getCompareToValue()
 
 
hashCode
public int hashCode()
- Specified by:
 hashCode in interface Matcher<T extends Key<?>>- Overrides:
 hashCode in class Object
 
 
equals
public boolean equals(Object obj)
- Specified by:
 equals in interface Matcher<T extends Key<?>>- Overrides:
 equals in class Object
 
 
Copyright 2001-2013, Terracotta, Inc.