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