static enum Version.PropertyNames extends Enum<Version.PropertyNames>
| Enum Constant and Description |
|---|
VERSION
Version property.
|
| Modifier and Type | Field and Description |
|---|---|
private String |
defaultValue
Default value.
|
private String |
name
Property name.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultValue()
Get the fallback value.
|
String |
toString()
Returns the property name.
|
static Version.PropertyNames |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Version.PropertyNames[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Version.PropertyNames VERSION
private final String name
private final String defaultValue
public static Version.PropertyNames[] values()
for (Version.PropertyNames c : Version.PropertyNames.values()) System.out.println(c);
public static Version.PropertyNames 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 toString()
toString in class Enum<Version.PropertyNames>null or emptypublic String getDefaultValue()
null or emptyCopyright © 2014 Sven Strittmatter. All Rights Reserved.