public enum ConversionPolicy extends Enum<ConversionPolicy>
Channel
.Enum Constant and Description |
---|
ALWAYS_NEW
Always make a new channel.
|
CHANGE_EXISTING_CHANNEL
The old channel is converted into the new type if needed.
|
DO_NOT_CHANGE_EXISTING
Do not change the existing channel, rather make a new channel.
|
Modifier and Type | Method and Description |
---|---|
static ConversionPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConversionPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConversionPolicy CHANGE_EXISTING_CHANNEL
public static final ConversionPolicy DO_NOT_CHANGE_EXISTING
public static final ConversionPolicy ALWAYS_NEW
public static ConversionPolicy[] values()
for (ConversionPolicy c : ConversionPolicy.values()) System.out.println(c);
public static ConversionPolicy 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 © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.