GroupMatcher (Quartz Parent POM 2.0.1 API)

Quartz Java



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:
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(String compareTo, StringMatcher.StringOperatorName compareWith)
           
 
Method Summary
protected  String getValue(T key)
           
static GroupMatcher groupContains(String compareTo)
          Create a GroupMatcher that matches groups containing the given string.
static GroupMatcher groupEndsWith(String compareTo)
          Create a GroupMatcher that matches groups ending with the given string.
static GroupMatcher groupEquals(String compareTo)
          Create a GroupMatcher that matches groups equaling the given string.
static GroupMatcher groupStartsWith(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(String compareTo,
                       StringMatcher.StringOperatorName compareWith)
Method Detail

groupEquals

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


groupStartsWith

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


groupEndsWith

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


groupContains

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


getValue

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


Copyright 2001-2011, Terracotta, Inc.