Package org.dreambot.api.utilities
Enum Logger.LogType
- java.lang.Object
-
- java.lang.Enum<Logger.LogType>
-
- org.dreambot.api.utilities.Logger.LogType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Logger.LogType>
- Enclosing class:
- Logger
public static enum Logger.LogType extends java.lang.Enum<Logger.LogType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Logger.LogType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Logger.LogType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INFO
public static final Logger.LogType INFO
-
DEBUG
public static final Logger.LogType DEBUG
-
WARN
public static final Logger.LogType WARN
-
ERROR
public static final Logger.LogType ERROR
-
SCRIPT
public static final Logger.LogType SCRIPT
-
-
Method Detail
-
values
public static Logger.LogType[] 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 (Logger.LogType c : Logger.LogType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Logger.LogType 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
-
-