Modifier and Type | Method and Description |
---|---|
Boolean |
getBooleanProperty(String key)
Gets the Boolean property for the given key.
|
Boolean |
getBooleanProperty(String key,
Boolean defaultValue)
Gets the Boolean property for the given key, returning the defaultValue if the located property value
null . |
Map<String,String> |
getCustomProperties(String key)
Gets the key/value pairs as a map for custom property type fields.
|
Long |
getLongProperty(String key)
Gets the Long property for the given key.
|
Long |
getLongProperty(String key,
Long defaultValue)
Gets the Long property for the given key, returning the defaultValue if the located property value
null . |
OAuth2Context |
getOAuth2Context(String key)
Gets the OAuth2Context property for the given key.
|
PrivateKeyStore |
getPrivateKeyStoreProperty(String key)
Gets the KeyStore property for the given key.
|
String |
getProperty(String key)
Gets the String property for the given key.
|
String |
getProperty(String key,
String defaultValue)
Gets the String property for the given key, returning the defaultValue if the located property value is blank
(
null or all characters are whitespace). |
PublicKeyStore |
getPublicKeyStoreProperty(String key)
Gets the KeyStore property for the given key.
|
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
String getProperty(String key)
key
- key of the desired propertynull
if not found.String getProperty(String key, String defaultValue)
null
or all characters are whitespace). This method may be used to retrieve properties of type "string"
or "password".key
- key of the desired propertydefaultValue
- value to return if property value is blankBoolean getBooleanProperty(String key)
key
- key of the desired propertynull
if not found.Boolean getBooleanProperty(String key, Boolean defaultValue)
null
. This method may be used to retrieve properties of type "boolean".key
- key of the desired propertydefaultValue
- value to return if property value is null
Long getLongProperty(String key)
key
- key of the desired propertynull
if not found.Long getLongProperty(String key, Long defaultValue)
null
.
This method may be used to retrieve properties of type "integer".key
- key of the desired propertydefaultValue
- value to return if property value is null
PrivateKeyStore getPrivateKeyStoreProperty(String key)
key
- key of the desired propertynull
if not found.PublicKeyStore getPublicKeyStoreProperty(String key)
key
- key of the desired propertynull
if not found.OAuth2Context getOAuth2Context(String key)
key
- key of the desired propertynull
if not found.Map<String,String> getCustomProperties(String key)
key
- key of the desired propertyIllegalArgumentException
- if the key provided is not a "customproperties" field type.