public static enum OpenNetLabel.Type extends java.lang.Enum<OpenNetLabel.Type>
Enum Constant and Description |
---|
ASYNC_INPUT |
ASYNC_OUTPUT |
SYNC |
Modifier and Type | Method and Description |
---|---|
static OpenNetLabel.Type |
fromValue(java.lang.String value) |
java.lang.String |
getPrefix() |
java.lang.String |
getValue() |
static OpenNetLabel.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OpenNetLabel.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpenNetLabel.Type ASYNC_OUTPUT
public static final OpenNetLabel.Type ASYNC_INPUT
public static final OpenNetLabel.Type SYNC
public static OpenNetLabel.Type[] values()
for (OpenNetLabel.Type c : OpenNetLabel.Type.values()) System.out.println(c);
public static OpenNetLabel.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static OpenNetLabel.Type fromValue(java.lang.String value)
public java.lang.String getValue()
public java.lang.String getPrefix()