public static class ConfigProperties.ConfigProperty extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
getBooleanValue()
Returns the boolean value of this property, converting from string using the same rules as
Boolean.valueOf(String) . |
int |
getIntValue()
Returns the integer value of this property, converting from string using the same rules as
Integer.parseInt(String) . |
String |
getName()
Returns the name (map key) of this property.
|
String |
getValue()
Returns the value of this property, which may or may not have been the default value.
|
boolean |
isDefault()
Returns false if this value appeared among the user-supplied values; false if it came from the
application-provided default.
|
String |
toString() |
public String getName()
public String getValue()
isDefault()
public boolean isDefault()
public boolean getBooleanValue()
Boolean.valueOf(String)
.public int getIntValue()
Integer.parseInt(String)
.NumberFormatException
- if the value cannot be parsed as an integer.Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.