public enum ConfigKey extends Enum<ConfigKey>
Config
.Enum Constant and Description |
---|
ALLOWED_ALGORITHM
for setting the value
Config.withAllowedAlgorithm(net.brabenetz.lib.securedproperties.core.Algorithm...) . |
AUTO_CREATE_SECRET_KEY
for setting the value
Config.withAutoCreateSecretKey(boolean) . |
SALT_LENGTH
for setting the value
Config.withSaltLength(int) . |
SECRET_FILE
for setting the value
Config.withSecretFile(java.io.File) . |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_PREFIX_KEBAB_CASE
default prefix for kebab-case keys.
|
static String |
DEFAULT_PREFIX_UPPER_CASE
default prefix for UPPER_CASE keys.
|
Modifier and Type | Method and Description |
---|---|
String |
getKebabCase() |
String |
getUpperCase() |
static ConfigKey |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigKey SECRET_FILE
Config.withSecretFile(java.io.File)
.public static final ConfigKey SALT_LENGTH
Config.withSaltLength(int)
.public static final ConfigKey ALLOWED_ALGORITHM
Config.withAllowedAlgorithm(net.brabenetz.lib.securedproperties.core.Algorithm...)
.public static final ConfigKey AUTO_CREATE_SECRET_KEY
Config.withAutoCreateSecretKey(boolean)
.public static final String DEFAULT_PREFIX_UPPER_CASE
public static final String DEFAULT_PREFIX_KEBAB_CASE
public static ConfigKey[] values()
for (ConfigKey c : ConfigKey.values()) System.out.println(c);
public static ConfigKey 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 getUpperCase()
public String getKebabCase()
Copyright © 2016–2019 Brabenetz Harald, Austria. All rights reserved.