Package com.ibm.wala.sourcepos
Enum Debug.LogLevel
- java.lang.Object
-
- java.lang.Enum<Debug.LogLevel>
-
- com.ibm.wala.sourcepos.Debug.LogLevel
-
- All Implemented Interfaces:
Serializable
,Comparable<Debug.LogLevel>
- Enclosing class:
- Debug
public static enum Debug.LogLevel extends Enum<Debug.LogLevel>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isHigherPriority(Debug.LogLevel l)
static Debug.LogLevel
valueOf(String name)
Returns the enum constant of this type with the specified name.static Debug.LogLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEBUG
public static final Debug.LogLevel DEBUG
-
INFO
public static final Debug.LogLevel INFO
-
WARN
public static final Debug.LogLevel WARN
-
ERROR
public static final Debug.LogLevel ERROR
-
-
Method Detail
-
values
public static Debug.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 (Debug.LogLevel c : Debug.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 Debug.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
-
isHigherPriority
public boolean isHigherPriority(Debug.LogLevel l)
-
-