org.quartz.impl.matchers
Class StringMatcher<T extends Key<?>>
java.lang.Object
org.quartz.impl.matchers.StringMatcher<T>
- All Implemented Interfaces:
- Serializable, Matcher<T>
- Direct Known Subclasses:
- GroupMatcher, NameMatcher
public abstract class StringMatcher<T extends Key<?>>
- extends Object
- implements Matcher<T>
An abstract base class for some types of matchers.
- Author:
- jhouse
- See Also:
- Serialized Form
compareTo
protected String compareTo
compareWith
protected StringMatcher.StringOperatorName compareWith
StringMatcher
protected StringMatcher(String compareTo,
StringMatcher.StringOperatorName compareWith)
getValue
protected abstract 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 Object
equals
public boolean equals(Object obj)
- Specified by:
equals
in interface Matcher<T extends Key<?>>
- Overrides:
equals
in class Object
getCompareToValue
public String getCompareToValue()
getCompareWithOperator
public StringMatcher.StringOperatorName getCompareWithOperator()
Copyright 2001-2019, Terracotta, Inc.