public enum ConfigurationFieldType extends Enum<ConfigurationFieldType>
| Enum Constant and Description |
|---|
NUMBER
A control for entering a number.
|
TEXT
A single-line text field.
|
URL
A field for entering a URL.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getType() |
String |
toString() |
static ConfigurationFieldType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigurationFieldType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigurationFieldType NUMBER
public static final ConfigurationFieldType TEXT
public static final ConfigurationFieldType URL
public static ConfigurationFieldType[] values()
for (ConfigurationFieldType c : ConfigurationFieldType.values()) System.out.println(c);
public static ConfigurationFieldType 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 String getType()
public String toString()
toString in class Enum<ConfigurationFieldType>Copyright © 2019 Pivotal Software, Inc.. All rights reserved.