public enum ErrorSeverity extends Enum<ErrorSeverity>
ErrorStatus
objects.Enum Constant and Description |
---|
ERROR |
FATAL_ERROR |
NO_ERROR |
WARNING |
Modifier and Type | Method and Description |
---|---|
static ErrorSeverity |
parseFromInt(int val) |
int |
value() |
static ErrorSeverity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorSeverity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorSeverity NO_ERROR
public static final ErrorSeverity WARNING
public static final ErrorSeverity ERROR
public static final ErrorSeverity FATAL_ERROR
public static ErrorSeverity[] values()
for (ErrorSeverity c : ErrorSeverity.values()) System.out.println(c);
public static 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 int value()
public static ErrorSeverity parseFromInt(int val)
Documentation Feedback
Copyright 2011 - 2018 Micro Focus or one of its affiliates.