public enum ParameterType extends java.lang.Enum<ParameterType>
Enum Constant and Description |
---|
INTEGER
Integer parameter.
|
STRING
String parameter.
|
STRING_INTEGER
String/Integer list parameter.
|
Modifier and Type | Method and Description |
---|---|
java.util.regex.Pattern |
getPattern()
Returns the pattern matching valid parameter values.
|
static ParameterType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ParameterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParameterType INTEGER
public static final ParameterType STRING
public static final ParameterType STRING_INTEGER
public static ParameterType[] values()
for (ParameterType c : ParameterType.values()) System.out.println(c);
public static ParameterType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.util.regex.Pattern getPattern()