public static enum ChannelMode.Type extends Enum<ChannelMode.Type>
| Enum Constant and Description |
|---|
A_MASK
Always has parameter, which is a mask.
|
B_PARAMETER_ALWAYS
Always has parameter.
|
C_PARAMETER_ON_SET
Has parameter when setting.
|
D_PARAMETER_NEVER
Never has parameters.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isParameterRequiredOnRemoval()
Gets if a parameter is required when removing the mode.
|
boolean |
isParameterRequiredOnSetting()
Gets if a parameter is required when adding the mode.
|
static ChannelMode.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChannelMode.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChannelMode.Type A_MASK
public static final ChannelMode.Type B_PARAMETER_ALWAYS
public static final ChannelMode.Type C_PARAMETER_ON_SET
public static final ChannelMode.Type D_PARAMETER_NEVER
public static ChannelMode.Type[] values()
for (ChannelMode.Type c : ChannelMode.Type.values()) System.out.println(c);
public static ChannelMode.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 boolean isParameterRequiredOnRemoval()
public boolean isParameterRequiredOnSetting()
Copyright © 2013–2021 Kitteh. All rights reserved.