
public enum ONSChannel extends Enum<ONSChannel>
| Modifier and Type | Method and Description |
|---|---|
static ONSChannel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ONSChannel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ONSChannel CLOUD
public static final ONSChannel ALIYUN
public static final ONSChannel ALL
public static ONSChannel[] values()
for (ONSChannel c : ONSChannel.values()) System.out.println(c);
public static ONSChannel 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 © 2012–2018. All rights reserved.