public enum ComparisonType extends Enum<ComparisonType>
| Enum Constant and Description |
|---|
Contains |
ContainsRegex |
EndsWith |
Equals |
EqualsRegex |
IsPlain |
NotContains |
NotContainsRegex |
NotEndsWith |
NotEquals |
NotEqualsRegex |
NotStartsWith |
StartsWith |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRegexComparison() |
static ComparisonType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComparisonType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComparisonType IsPlain
public static final ComparisonType Equals
public static final ComparisonType EqualsRegex
public static final ComparisonType Contains
public static final ComparisonType ContainsRegex
public static final ComparisonType StartsWith
public static final ComparisonType EndsWith
public static final ComparisonType NotEquals
public static final ComparisonType NotEqualsRegex
public static final ComparisonType NotContains
public static final ComparisonType NotContainsRegex
public static final ComparisonType NotStartsWith
public static final ComparisonType NotEndsWith
public static ComparisonType[] values()
for (ComparisonType c : ComparisonType.values()) System.out.println(c);
public static ComparisonType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean isRegexComparison()