public static enum DynamicTemplate.MatchType extends Enum<DynamicTemplate.MatchType>
Modifier and Type | Method and Description |
---|---|
static DynamicTemplate.MatchType |
fromString(String value) |
static DynamicTemplate.MatchType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DynamicTemplate.MatchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DynamicTemplate.MatchType SIMPLE
public static final DynamicTemplate.MatchType REGEX
public static DynamicTemplate.MatchType[] values()
for (DynamicTemplate.MatchType c : DynamicTemplate.MatchType.values()) System.out.println(c);
public static DynamicTemplate.MatchType 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 static DynamicTemplate.MatchType fromString(String value)
Copyright © 2009–2016. All rights reserved.