org.quartz.impl.matchers
Class GroupMatcher<T extends Key>

java.lang.Object
  extended by org.quartz.impl.matchers.StringMatcher<T>
      extended by org.quartz.impl.matchers.GroupMatcher<T>
All Implemented Interfaces:
java.io.Serializable, Matcher<T>

public class GroupMatcher<T extends Key>
extends StringMatcher<T>

Matches on group (ignores name) property of Keys.

Author:
jhouse
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.quartz.impl.matchers.StringMatcher
StringMatcher.StringOperatorName
 
Field Summary
 
Fields inherited from class org.quartz.impl.matchers.StringMatcher
compareTo, compareWith
 
Constructor Summary
protected GroupMatcher(java.lang.String compareTo, StringMatcher.StringOperatorName compareWith)
           
 
Method Summary
protected  java.lang.String getValue(T key)
           
static GroupMatcher groupContains(java.lang.String compareTo)
          Create a GroupMatcher that matches groups containing the given string.
static GroupMatcher groupEndsWith(java.lang.String compareTo)
          Create a GroupMatcher that matches groups ending with the given string.
static GroupMatcher groupEquals(java.lang.String compareTo)
          Create a GroupMatcher that matches groups equaling the given string.
static GroupMatcher groupStartsWith(java.lang.String compareTo)
          Create a GroupMatcher that matches groups starting with the given string.
 
Methods inherited from class org.quartz.impl.matchers.StringMatcher
equals, getCompareToValue, getCompareWithOperator, hashCode, isMatch
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupMatcher

protected GroupMatcher(java.lang.String compareTo,
                       StringMatcher.StringOperatorName compareWith)
Method Detail

groupEquals

public static GroupMatcher groupEquals(java.lang.String compareTo)
Create a GroupMatcher that matches groups equaling the given string.


groupStartsWith

public static GroupMatcher groupStartsWith(java.lang.String compareTo)
Create a GroupMatcher that matches groups starting with the given string.


groupEndsWith

public static GroupMatcher groupEndsWith(java.lang.String compareTo)
Create a GroupMatcher that matches groups ending with the given string.


groupContains

public static GroupMatcher groupContains(java.lang.String compareTo)
Create a GroupMatcher that matches groups containing the given string.


getValue

protected java.lang.String getValue(T key)
Specified by:
getValue in class StringMatcher<T extends Key>


Copyright 2001-2019, Terracotta, Inc.