public static enum DocumentedException.ErrorSeverity extends Enum<DocumentedException.ErrorSeverity>
Modifier and Type | Method and Description |
---|---|
static DocumentedException.ErrorSeverity |
from(String text) |
String |
getSeverityValue() |
String |
getTagValue()
Deprecated.
Use
getSeverityValue() instead. |
static DocumentedException.ErrorSeverity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocumentedException.ErrorSeverity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentedException.ErrorSeverity ERROR
public static final DocumentedException.ErrorSeverity WARNING
public static DocumentedException.ErrorSeverity[] values()
for (DocumentedException.ErrorSeverity c : DocumentedException.ErrorSeverity.values()) System.out.println(c);
public static DocumentedException.ErrorSeverity 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 static DocumentedException.ErrorSeverity from(String text)
public String getSeverityValue()
@Deprecated public String getTagValue()
getSeverityValue()
instead.Copyright © 2020. All rights reserved.