public enum SeverityLevel extends Enum<SeverityLevel>
Java class for severity-level.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="severity-level">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="blocker"/>
<enumeration value="critical"/>
<enumeration value="normal"/>
<enumeration value="minor"/>
<enumeration value="trivial"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
BLOCKER |
CRITICAL |
MINOR |
NORMAL |
TRIVIAL |
| Modifier and Type | Method and Description |
|---|---|
static SeverityLevel |
fromValue(String v) |
String |
value() |
static SeverityLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SeverityLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SeverityLevel BLOCKER
public static final SeverityLevel CRITICAL
public static final SeverityLevel NORMAL
public static final SeverityLevel MINOR
public static final SeverityLevel TRIVIAL
public static SeverityLevel[] values()
for (SeverityLevel c : SeverityLevel.values()) System.out.println(c);
public static SeverityLevel 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 nullpublic String value()
public static SeverityLevel fromValue(String v)
Copyright © 2017 Yandex. All rights reserved.