public enum SeverityTypes extends Enum<SeverityTypes>
| Enum Constant and Description |
|---|
DEPRECATED
Enum value Deprecated.
|
ERROR
Enum value Error.
|
INFO
Enum value Info.
|
SEVERE_WARNING
Enum value SevereWarning.
|
USER_WARNING
Enum value UserWarning.
|
WARNING
Enum value Warning.
|
| Modifier and Type | Method and Description |
|---|---|
static SeverityTypes |
fromString(String value)
Parses a serialized value to a SeverityTypes instance.
|
String |
toString() |
static SeverityTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SeverityTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SeverityTypes WARNING
public static final SeverityTypes ERROR
public static final SeverityTypes INFO
public static final SeverityTypes SEVERE_WARNING
public static final SeverityTypes DEPRECATED
public static final SeverityTypes USER_WARNING
public static SeverityTypes[] values()
for (SeverityTypes c : SeverityTypes.values()) System.out.println(c);
public static SeverityTypes 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 SeverityTypes fromString(String value)
value - the serialized value to parse.public String toString()
toString in class Enum<SeverityTypes>/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/