Package org.openbase.jps.preset
Enum JPLogLevel.LogLevel
- java.lang.Object
-
- java.lang.Enum<JPLogLevel.LogLevel>
-
- org.openbase.jps.preset.JPLogLevel.LogLevel
-
- All Implemented Interfaces:
Serializable,Comparable<JPLogLevel.LogLevel>
- Enclosing class:
- JPLogLevel
public static enum JPLogLevel.LogLevel extends Enum<JPLogLevel.LogLevel>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JPLogLevel.LogLevelvalueOf(String name)Returns the enum constant of this type with the specified name.static JPLogLevel.LogLevel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TRACE
public static final JPLogLevel.LogLevel TRACE
-
DEBUG
public static final JPLogLevel.LogLevel DEBUG
-
INFO
public static final JPLogLevel.LogLevel INFO
-
WARN
public static final JPLogLevel.LogLevel WARN
-
ERROR
public static final JPLogLevel.LogLevel ERROR
-
OFF
public static final JPLogLevel.LogLevel OFF
-
-
Method Detail
-
values
public static JPLogLevel.LogLevel[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (JPLogLevel.LogLevel c : JPLogLevel.LogLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JPLogLevel.LogLevel valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-