public static enum ChannelAccessStatus.StatusSeverityLevel extends Enum<ChannelAccessStatus.StatusSeverityLevel>
Severity levels associated with status codes. The severity level indicates into which category a status code belongs. Usually, the behavior of a client does not depend on the severity level associated with a status code.
The EPICS C-library knows a severity level FATAL
.
Technically, this is just the ERROR
level combined with the
severe flag. In this implementation, the severe flag is kept separately
in the ChannelAccessStatus.StatusSeverity
, so that we can use an enum for the
severity level.
Enum Constant and Description |
---|
ERROR
Severity associated with messages that signal an error condition that
is caused by a non-transient problem.
|
INFO
Severity associated with messages that have an informational
character and do not necessarily signal an error condition.
|
SUCCESS
Reserved for the
ChannelAccessStatus.StatusMessage.ECA_NORMAL message. |
WARNING
Severity associated with messages that signal an error condition that
is might be transient.
|
Modifier and Type | Method and Description |
---|---|
static ChannelAccessStatus.StatusSeverityLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChannelAccessStatus.StatusSeverityLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChannelAccessStatus.StatusSeverityLevel SUCCESS
ChannelAccessStatus.StatusMessage.ECA_NORMAL
message.public static final ChannelAccessStatus.StatusSeverityLevel INFO
public static final ChannelAccessStatus.StatusSeverityLevel WARNING
public static final ChannelAccessStatus.StatusSeverityLevel ERROR
public static ChannelAccessStatus.StatusSeverityLevel[] values()
for (ChannelAccessStatus.StatusSeverityLevel c : ChannelAccessStatus.StatusSeverityLevel.values()) System.out.println(c);
public static ChannelAccessStatus.StatusSeverityLevel 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 nullCopyright © 2014–2016 aquenos GmbH. All rights reserved.