public static enum CustomMongoConverters.LogLevelToIntConverter extends java.lang.Enum<CustomMongoConverters.LogLevelToIntConverter> implements org.springframework.core.convert.converter.Converter<LogLevel,com.mongodb.DBObject>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
com.mongodb.DBObject |
convert(LogLevel source) |
static CustomMongoConverters.LogLevelToIntConverter |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CustomMongoConverters.LogLevelToIntConverter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomMongoConverters.LogLevelToIntConverter INSTANCE
public static CustomMongoConverters.LogLevelToIntConverter[] values()
for (CustomMongoConverters.LogLevelToIntConverter c : CustomMongoConverters.LogLevelToIntConverter.values()) System.out.println(c);
public static CustomMongoConverters.LogLevelToIntConverter 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 null