public class LocationConfigUtils
extends java.lang.Object
Constructor and Description |
---|
LocationConfigUtils() |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<ConfigKey<java.lang.String>,java.lang.String> |
finalAndOriginalSpecs(java.lang.String finalSpec,
java.lang.Object... sourcesForOriginalSpec) |
static <T> T |
getConfigCheckingDeprecatedAlternatives(ConfigBag configBag,
ConfigKey<T> preferredKey,
ConfigKey<?>... deprecatedKeys)
Deprecated.
since 0.6.0 use configBag.getWithDeprecation
|
static java.lang.String |
getKeyData(ConfigBag config,
ConfigKey<java.lang.String> dataKey,
ConfigKey<java.lang.String> fileKey) |
static java.lang.String |
getPrivateKeyData(ConfigBag config) |
static java.lang.String |
getPublicKeyData(ConfigBag config) |
static boolean |
isEnabled(ManagementContext mgmt,
java.lang.String prefix) |
public static java.lang.String getPrivateKeyData(ConfigBag config)
public static java.lang.String getPublicKeyData(ConfigBag config)
public static java.lang.String getKeyData(ConfigBag config, ConfigKey<java.lang.String> dataKey, ConfigKey<java.lang.String> fileKey)
@Deprecated public static <T> T getConfigCheckingDeprecatedAlternatives(ConfigBag configBag, ConfigKey<T> preferredKey, ConfigKey<?>... deprecatedKeys)
public static java.util.Map<ConfigKey<java.lang.String>,java.lang.String> finalAndOriginalSpecs(java.lang.String finalSpec, java.lang.Object... sourcesForOriginalSpec)
public static boolean isEnabled(ManagementContext mgmt, java.lang.String prefix)