public enum ChannelType extends Enum<ChannelType> implements HasCode<ChannelType>
Channel.| Modifier and Type | Class and Description |
|---|---|
static class |
ChannelType.ChannelTypeDeserializer |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
static ChannelType |
of(String code)
Get an enum constant for provided
code. |
static ChannelType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChannelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChannelType Open
public static final ChannelType Private
public static final ChannelType Direct
public static final ChannelType Group
public static ChannelType[] values()
for (ChannelType c : ChannelType.values()) System.out.println(c);
public static ChannelType 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 getCode()
getCode in interface HasCode<ChannelType>public static ChannelType of(String code)
code.Copyright © 2019. All rights reserved.