public static enum MongoConfigImpl.ConfigurationProperty extends java.lang.Enum<MongoConfigImpl.ConfigurationProperty> implements IConfigurationProperty
Enum Constant and Description |
---|
MONGO_DATABASENAME |
MONGO_HOSTS |
MONGO_OPTIONS |
MONGO_PASSWORD |
MONGO_USERNAME |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
key |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getKey() |
static MongoConfigImpl.ConfigurationProperty |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MongoConfigImpl.ConfigurationProperty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MongoConfigImpl.ConfigurationProperty MONGO_USERNAME
public static final MongoConfigImpl.ConfigurationProperty MONGO_PASSWORD
public static final MongoConfigImpl.ConfigurationProperty MONGO_HOSTS
public static final MongoConfigImpl.ConfigurationProperty MONGO_DATABASENAME
public static final MongoConfigImpl.ConfigurationProperty MONGO_OPTIONS
public static MongoConfigImpl.ConfigurationProperty[] values()
for (MongoConfigImpl.ConfigurationProperty c : MongoConfigImpl.ConfigurationProperty.values()) System.out.println(c);
public static MongoConfigImpl.ConfigurationProperty valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getKey()
getKey
in interface IConfigurationProperty