@InterfaceAudience.Private public enum DataChannel extends Enum<DataChannel>
| Enum Constant and Description | 
|---|
| INWe will only read data from this channel | 
| INOUTWe will do both read and write for this channel | 
| NONEThere is no data exchange | 
| OUTWe 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–2025 Apache Software Foundation. All rights reserved.