public static enum ExampleMatcher.StringMatcher extends Enum<ExampleMatcher.StringMatcher>
String
values.Enum Constant and Description |
---|
CONTAINING
Matches string containing pattern
|
DEFAULT
Store specific default.
|
ENDING
Matches string ending with pattern
|
EXACT
Matches the exact string
|
REGEX
Treats strings as regular expression patterns
|
STARTING
Matches string starting with pattern
|
Modifier and Type | Method and Description |
---|---|
static ExampleMatcher.StringMatcher |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExampleMatcher.StringMatcher[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExampleMatcher.StringMatcher DEFAULT
public static final ExampleMatcher.StringMatcher EXACT
public static final ExampleMatcher.StringMatcher STARTING
public static final ExampleMatcher.StringMatcher ENDING
public static final ExampleMatcher.StringMatcher CONTAINING
public static final ExampleMatcher.StringMatcher REGEX
public static ExampleMatcher.StringMatcher[] values()
for (ExampleMatcher.StringMatcher c : ExampleMatcher.StringMatcher.values()) System.out.println(c);
public static ExampleMatcher.StringMatcher 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 nullCopyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.