public enum SeverityRating extends Enum<SeverityRating>
Modifier and Type | Method and Description |
---|---|
static SeverityRating |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SeverityRating[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SeverityRating None
public static final SeverityRating Low
public static final SeverityRating Medium
public static final SeverityRating High
public static final SeverityRating Critical
public static SeverityRating[] values()
for (SeverityRating c : SeverityRating.values()) System.out.println(c);
public static SeverityRating valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2016–2024. All rights reserved.