public static enum WitsmlMessage.Type extends Enum<WitsmlMessage.Type>
Enum Constant and Description |
---|
ALARM
An alarm condition when something has exceeded specified limits.
|
EVENT
Information about a specific event.
|
INFORMATIONAL
General information message.
|
UNKNOWN
The value is not known.
|
WARNING
A cautionary message.
|
Modifier and Type | Method and Description |
---|---|
static WitsmlMessage.Type |
get(String tag) |
String |
toString() |
static WitsmlMessage.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WitsmlMessage.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WitsmlMessage.Type ALARM
public static final WitsmlMessage.Type EVENT
public static final WitsmlMessage.Type INFORMATIONAL
public static final WitsmlMessage.Type WARNING
public static final WitsmlMessage.Type UNKNOWN
public static WitsmlMessage.Type[] values()
for (WitsmlMessage.Type c : WitsmlMessage.Type.values()) System.out.println(c);
public static WitsmlMessage.Type 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 String toString()
toString
in class Enum<WitsmlMessage.Type>
public static WitsmlMessage.Type get(String tag)
Copyright © 2023 Petroware AS - https://petroware.no