@InterfaceAudience.Private public enum DataChannel extends Enum<DataChannel>
Enum Constant and Description |
---|
IN
We will only read data from this channel
|
INOUT
We will do both read and write for this channel
|
NONE
There is no data exchange
|
OUT
We will only write data from this channel
|
Modifier and Type | Method and Description |
---|---|
static DataChannel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataChannel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataChannel IN
public static final DataChannel OUT
public static final DataChannel INOUT
public static final DataChannel NONE
public static DataChannel[] values()
for (DataChannel c : DataChannel.values()) System.out.println(c);
public static DataChannel 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 © 2008–2024 Apache Software Foundation. All rights reserved.