public enum UpdateSeverity extends java.lang.Enum<UpdateSeverity>
Enum Constant and Description |
---|
Critical
Update contains critical patches.
|
Invalid
No severity specified.
|
Major
Update contains a major version.
|
Minor
Update contains a minor version.
|
Testing
Update contains a testing version.
|
Modifier and Type | Method and Description |
---|---|
static UpdateSeverity |
fromValue(long v) |
static UpdateSeverity |
fromValue(java.lang.String v) |
int |
value() |
static UpdateSeverity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UpdateSeverity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpdateSeverity Invalid
public static final UpdateSeverity Critical
public static final UpdateSeverity Major
public static final UpdateSeverity Minor
public static final UpdateSeverity Testing
public static UpdateSeverity[] values()
for (UpdateSeverity c : UpdateSeverity.values()) System.out.println(c);
public static UpdateSeverity 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 int value()
public static UpdateSeverity fromValue(long v)
public static UpdateSeverity fromValue(java.lang.String v)