public enum StatusSeverity extends java.lang.Enum<StatusSeverity> implements IntegralConstant
IStatus
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static java.util.Set<StatusSeverity> |
setOf(int values) |
static StatusSeverity |
valueOf(int value) |
static StatusSeverity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StatusSeverity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static int |
valuesAsInteger() |
static int |
valuesAsInteger(java.util.Set<JavaElementDeltaFlag> values) |
static java.util.Set<java.lang.Integer> |
valuesAsIntegers() |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
equals
public static final StatusSeverity OK
IStatus.OK
public static final StatusSeverity INFO
IStatus.INFO
public static final StatusSeverity WARNING
IStatus.WARNING
public static final StatusSeverity ERROR
IStatus.ERROR
public static final StatusSeverity CANCEL
IStatus.CANCEL
public static StatusSeverity[] values()
for (StatusSeverity c : StatusSeverity.values()) System.out.println(c);
public static StatusSeverity 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 nullpublic static java.util.Set<java.lang.Integer> valuesAsIntegers()
public static int valuesAsInteger()
public static int valuesAsInteger(java.util.Set<JavaElementDeltaFlag> values)
public static StatusSeverity valueOf(int value)
public static java.util.Set<StatusSeverity> setOf(int values)
public int getValue()
getValue
in interface IntegralConstant