public enum Channels extends Enum<Channels>
Enum Constant and Description |
---|
ALL
Enum value All.
|
API
Enum value Api.
|
EMAIL
Enum value Email.
|
NOTIFICATION
Enum value Notification.
|
WEBHOOK
Enum value Webhook.
|
Modifier and Type | Method and Description |
---|---|
static Channels |
fromString(String value)
Parses a serialized value to a Channels instance.
|
String |
toString() |
static Channels |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Channels[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Channels NOTIFICATION
public static final Channels API
public static final Channels EMAIL
public static final Channels WEBHOOK
public static final Channels ALL
public static Channels[] values()
for (Channels c : Channels.values()) System.out.println(c);
public static Channels 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 static Channels fromString(String value)
value
- the serialized value to parse.Copyright © 2019. All rights reserved.