Enum Constant and Description |
---|
critical
A critical failure, used to denote deque way accessibility violations.
|
minor
A minor failure, used to denote warnings and best practices.
|
moderate
A moderate failure, used to denote warnings and best practices.
|
serious
A serious failure, used to denote deque way accessibility violations.
|
Modifier and Type | Method and Description |
---|---|
static Impact |
impactFromString(java.lang.String string) |
Result.Status |
toStatus() |
static Impact |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Impact[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Impact minor
public static final Impact moderate
public static final Impact serious
public static final Impact critical
public static Impact[] values()
for (Impact c : Impact.values()) System.out.println(c);
public static Impact 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 Result.Status toStatus()
public static Impact impactFromString(java.lang.String string)