org.quartz.impl.matchers
Class StringMatcher<T extends Key>
java.lang.Object
org.quartz.impl.matchers.StringMatcher<T>
- All Implemented Interfaces:
- java.io.Serializable, Matcher<T>
- Direct Known Subclasses:
- GroupMatcher, NameMatcher
public abstract class StringMatcher<T extends Key>
- extends java.lang.Object
- implements Matcher<T>
An abstract base class for some types of matchers.
- Author:
- jhouse
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
compareTo
protected java.lang.String compareTo
compareWith
protected StringMatcher.StringOperatorName compareWith
StringMatcher
protected StringMatcher(java.lang.String compareTo,
StringMatcher.StringOperatorName compareWith)
getValue
protected abstract java.lang.String getValue(T key)
isMatch
public boolean isMatch(T key)
- Specified by:
isMatch
in interface Matcher<T extends Key>
hashCode
public int hashCode()
- Specified by:
hashCode
in interface Matcher<T extends Key>
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interface Matcher<T extends Key>
- Overrides:
equals
in class java.lang.Object
getCompareToValue
public java.lang.String getCompareToValue()
getCompareWithOperator
public StringMatcher.StringOperatorName getCompareWithOperator()
Copyright 2001-2019, Terracotta, Inc.