public static enum WebServerProperties.WebServerPropertiesEnum extends java.lang.Enum<WebServerProperties.WebServerPropertiesEnum>
Enum Constant and Description |
---|
CONFIG_FILE |
PORT |
WEBAPP_URL |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDefaultValue() |
java.lang.String |
getOverridingBootstrapPropertyKey() |
java.lang.String |
getValue(java.util.Properties bootstrapProperties) |
java.lang.String |
getValue(java.util.Properties bootstrapProperties,
java.lang.String defaultValue) |
void |
setDefaultValue(java.lang.String defaultValue) |
void |
setOverridingBootstrapPropertyKey(java.lang.String overridingBootstrapPropertyKey) |
static WebServerProperties.WebServerPropertiesEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WebServerProperties.WebServerPropertiesEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebServerProperties.WebServerPropertiesEnum PORT
public static final WebServerProperties.WebServerPropertiesEnum CONFIG_FILE
public static final WebServerProperties.WebServerPropertiesEnum WEBAPP_URL
public static WebServerProperties.WebServerPropertiesEnum[] values()
for (WebServerProperties.WebServerPropertiesEnum c : WebServerProperties.WebServerPropertiesEnum.values()) System.out.println(c);
public static WebServerProperties.WebServerPropertiesEnum 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.lang.String getValue(java.util.Properties bootstrapProperties)
public java.lang.String getValue(java.util.Properties bootstrapProperties, java.lang.String defaultValue)
public java.lang.String getDefaultValue()
public void setDefaultValue(java.lang.String defaultValue)
public java.lang.String getOverridingBootstrapPropertyKey()
public void setOverridingBootstrapPropertyKey(java.lang.String overridingBootstrapPropertyKey)