public class CASeverity extends ValuedEnum
| Modifier and Type | Field and Description |
|---|---|
static CASeverity |
ERROR
Failed-continue.
|
static CASeverity |
FATAL
fatal.
|
static CASeverity |
INFO
Successful.
|
static CASeverity |
SEVERE
failed-quit.
|
static CASeverity |
SUCCESS
Successful.
|
static CASeverity |
WARNING
Unsuccessful.
|
| Modifier | Constructor and Description |
|---|---|
protected |
CASeverity(String name,
int value)
Creates a new instance of CASeverity
|
| Modifier and Type | Method and Description |
|---|---|
static CASeverity |
forName(String name)
Return the CASeverity corresponding to specific name.
|
static CASeverity |
forValue(int value)
Return the CASeverity corresponding to specific numerical value.
|
boolean |
isError()
Tests whether this CASeverity represent an error code.
|
boolean |
isFatal()
Tests whether this CASeverity represents a fatal code.
|
boolean |
isSuccessful()
tests whether this CASeverity represent a successful code.
|
getValue, isEqualTo, isGreaterThan, isGreaterThanOrEqual, isLessThan, isLessThanOrEqual, toStringpublic static final CASeverity WARNING
public static final CASeverity SUCCESS
public static final CASeverity ERROR
public static final CASeverity INFO
public static final CASeverity SEVERE
public static final CASeverity FATAL
protected CASeverity(String name, int value)
name - The name of the Severity code.value - the numerical value of the severity.public boolean isSuccessful()
public boolean isError()
public boolean isFatal()
public static CASeverity forName(String name)
name - the name of the CASeverity to look for.public static final CASeverity forValue(int value)
value - the value of the CASeverity to look for.Copyright © 2004-2020 EPICS. All Rights Reserved.