public enum DBConfig extends Enum<DBConfig>
StorageCommand
understands.
Keys map to properties in $THERMOSTAT_HOME/storage/db.properties.Enum Constant and Description |
---|
BIND
The bind IP address.
|
PORT
The port on which mongodb will be listening.
|
SSL_ENABLE
Weather or not to start mongodb with SSL enabled.
|
SSL_KEY_PASSWORD
The passphrase for the encrypted SSL key.
|
SSL_PEM_FILE
The PEM encoded SSL certificate + SSL key.
|
Modifier and Type | Method and Description |
---|---|
static DBConfig |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DBConfig[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DBConfig BIND
public static final DBConfig PORT
public static final DBConfig SSL_ENABLE
public static final DBConfig SSL_PEM_FILE
public static final DBConfig SSL_KEY_PASSWORD
public static DBConfig[] values()
for (DBConfig c : DBConfig.values()) System.out.println(c);
public static DBConfig 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 © 2014. All rights reserved.