public enum Configurations extends Enum<Configurations> implements Supplier<String>
Supplier which returns the property value on the arrangement.| Enum Constant and Description |
|---|
ENCRYPTION
A configuration to set the encryption to settings property.
|
HOST
the host configuration that might have more than one with a number as a suffix,
such as jakarta.nosql.host-1=localhost, jakarta.nosql.host-2=host2
|
PASSWORD
to set a password in a database
|
USER
to set a user in a NoSQL database
|
| Modifier and Type | Method and Description |
|---|---|
String |
get() |
static Configurations |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Configurations[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Configurations USER
public static final Configurations PASSWORD
public static final Configurations HOST
public static final Configurations ENCRYPTION
public static Configurations[] values()
for (Configurations c : Configurations.values()) System.out.println(c);
public static Configurations 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 nullCopyright © 2017–2019 Eclipse Foundation. All rights reserved.