public class NameMatcher<T extends Key<T>> extends StringMatcher<T>
StringMatcher.EStringOperatorName| Modifier | Constructor and Description |
|---|---|
protected |
NameMatcher(String sCompareTo,
StringMatcher.EStringOperatorName compareWith) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getValue(T key) |
static NameMatcher<JobKey> |
jobNameContains(String sCompareTo)
Create a NameMatcher that matches job names containing the given string.
|
static NameMatcher<JobKey> |
jobNameEndsWith(String sCompareTo)
Create a NameMatcher that matches job names ending with the given string.
|
static NameMatcher<JobKey> |
jobNameEquals(String sCompareTo)
Create a NameMatcher that matches job names equaling the given string.
|
static NameMatcher<JobKey> |
jobNameStartsWith(String sCompareTo)
Create a NameMatcher that matches job names starting with the given string.
|
static <U extends Key<U>> |
nameContains(String sCompareTo)
Create a NameMatcher that matches names containing the given string.
|
static <U extends Key<U>> |
nameEndsWith(String sCompareTo)
Create a NameMatcher that matches names ending with the given string.
|
static <T extends Key<T>> |
nameEquals(String sCompareTo)
Create a NameMatcher that matches names equaling the given string.
|
static <U extends Key<U>> |
nameStartsWith(String sCompareTo)
Create a NameMatcher that matches names starting with the given string.
|
static NameMatcher<TriggerKey> |
triggerNameContains(String sCompareTo)
Create a NameMatcher that matches trigger names containing the given
string.
|
static NameMatcher<TriggerKey> |
triggerNameEndsWith(String sCompareTo)
Create a NameMatcher that matches trigger names ending with the given
string.
|
static NameMatcher<TriggerKey> |
triggerNameEquals(String sCompareTo)
Create a NameMatcher that matches trigger names equaling the given string.
|
static NameMatcher<TriggerKey> |
triggerNameStartsWith(String sCompareTo)
Create a NameMatcher that matches trigger names starting with the given
string.
|
equals, getCompareToValue, getCompareWithOperator, hashCode, isMatchprotected NameMatcher(@Nonnull String sCompareTo, @Nonnull StringMatcher.EStringOperatorName compareWith)
protected String getValue(T key)
getValue in class StringMatcher<T extends Key<T>>public static <T extends Key<T>> NameMatcher<T> nameEquals(String sCompareTo)
public static NameMatcher<JobKey> jobNameEquals(String sCompareTo)
public static NameMatcher<TriggerKey> triggerNameEquals(String sCompareTo)
public static <U extends Key<U>> NameMatcher<U> nameStartsWith(String sCompareTo)
public static NameMatcher<JobKey> jobNameStartsWith(String sCompareTo)
public static NameMatcher<TriggerKey> triggerNameStartsWith(String sCompareTo)
public static <U extends Key<U>> NameMatcher<U> nameEndsWith(String sCompareTo)
public static NameMatcher<JobKey> jobNameEndsWith(String sCompareTo)
public static NameMatcher<TriggerKey> triggerNameEndsWith(String sCompareTo)
public static <U extends Key<U>> NameMatcher<U> nameContains(String sCompareTo)
public static NameMatcher<JobKey> jobNameContains(String sCompareTo)
public static NameMatcher<TriggerKey> triggerNameContains(String sCompareTo)
Copyright © 2016–2021 Philip Helger. All rights reserved.