Package org.elasticsearch.index
Enum SlowLogLevel
- java.lang.Object
-
- java.lang.Enum<SlowLogLevel>
-
- org.elasticsearch.index.SlowLogLevel
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SlowLogLevel>
,java.lang.constant.Constable
public enum SlowLogLevel extends java.lang.Enum<SlowLogLevel>
-
-
Method Summary
Modifier and Type Method Description static SlowLogLevel
parse(java.lang.String level)
static SlowLogLevel
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SlowLogLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WARN
public static final SlowLogLevel WARN
-
TRACE
public static final SlowLogLevel TRACE
-
INFO
public static final SlowLogLevel INFO
-
DEBUG
public static final SlowLogLevel DEBUG
-
-
Method Detail
-
values
public static SlowLogLevel[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SlowLogLevel valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
parse
public static SlowLogLevel parse(java.lang.String level)
-
-