public class NameMatcher<T extends Key<?>> extends StringMatcher<T>
StringMatcher.StringOperatorName
compareTo, compareWith
Modifier | Constructor and Description |
---|---|
protected |
NameMatcher(String compareTo,
StringMatcher.StringOperatorName compareWith) |
Modifier and Type | Method and Description |
---|---|
protected String |
getValue(T key) |
static NameMatcher<JobKey> |
jobNameContains(String compareTo)
Create a NameMatcher that matches job names containing the given string.
|
static NameMatcher<JobKey> |
jobNameEndsWith(String compareTo)
Create a NameMatcher that matches job names ending with the given string.
|
static NameMatcher<JobKey> |
jobNameEquals(String compareTo)
Create a NameMatcher that matches job names equaling the given string.
|
static NameMatcher<JobKey> |
jobNameStartsWith(String compareTo)
Create a NameMatcher that matches job names starting with the given string.
|
static <U extends Key<?>> |
nameContains(String compareTo)
Create a NameMatcher that matches names containing the given string.
|
static <U extends Key<?>> |
nameEndsWith(String compareTo)
Create a NameMatcher that matches names ending with the given string.
|
static <T extends Key<?>> |
nameEquals(String compareTo)
Create a NameMatcher that matches names equaling the given string.
|
static <U extends Key<?>> |
nameStartsWith(String compareTo)
Create a NameMatcher that matches names starting with the given string.
|
static NameMatcher<TriggerKey> |
triggerNameContains(String compareTo)
Create a NameMatcher that matches trigger names containing the given string.
|
static NameMatcher<TriggerKey> |
triggerNameEndsWith(String compareTo)
Create a NameMatcher that matches trigger names ending with the given string.
|
static NameMatcher<TriggerKey> |
triggerNameEquals(String compareTo)
Create a NameMatcher that matches trigger names equaling the given string.
|
static NameMatcher<TriggerKey> |
triggerNameStartsWith(String compareTo)
Create a NameMatcher that matches trigger names starting with the given string.
|
equals, getCompareToValue, getCompareWithOperator, hashCode, isMatch
protected NameMatcher(String compareTo, StringMatcher.StringOperatorName compareWith)
public static <T extends Key<?>> NameMatcher<T> nameEquals(String compareTo)
public static NameMatcher<JobKey> jobNameEquals(String compareTo)
public static NameMatcher<TriggerKey> triggerNameEquals(String compareTo)
public static <U extends Key<?>> NameMatcher<U> nameStartsWith(String compareTo)
public static NameMatcher<JobKey> jobNameStartsWith(String compareTo)
public static NameMatcher<TriggerKey> triggerNameStartsWith(String compareTo)
public static <U extends Key<?>> NameMatcher<U> nameEndsWith(String compareTo)
public static NameMatcher<JobKey> jobNameEndsWith(String compareTo)
public static NameMatcher<TriggerKey> triggerNameEndsWith(String compareTo)
public static <U extends Key<?>> NameMatcher<U> nameContains(String compareTo)
public static NameMatcher<JobKey> jobNameContains(String compareTo)
public static NameMatcher<TriggerKey> triggerNameContains(String compareTo)
Copyright 2001-2019, Terracotta, Inc.