Package 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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStringMatcher.StringOperatorName
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringcompareToprotected StringMatcher.StringOperatorNamecompareWith
-
Constructor Summary
Constructors Modifier Constructor Description protectedStringMatcher(java.lang.String compareTo, StringMatcher.StringOperatorName compareWith)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetCompareToValue()StringMatcher.StringOperatorNamegetCompareWithOperator()protected abstract java.lang.StringgetValue(T key)inthashCode()booleanisMatch(T key)
-
-
-
Field Detail
-
compareTo
protected java.lang.String compareTo
-
compareWith
protected StringMatcher.StringOperatorName compareWith
-
-
Constructor Detail
-
StringMatcher
protected StringMatcher(java.lang.String compareTo, StringMatcher.StringOperatorName compareWith)
-
-
Method Detail
-
getValue
protected abstract java.lang.String getValue(T key)
-
hashCode
public int hashCode()
-
equals
public boolean equals(java.lang.Object obj)
-
getCompareToValue
public java.lang.String getCompareToValue()
-
getCompareWithOperator
public StringMatcher.StringOperatorName getCompareWithOperator()
-
-