public enum MessengerType extends Enum<MessengerType>
Modifier and Type | Method and Description |
---|---|
static MessengerType |
safeValueOf(String value)
Return the messenger type from a a string name returning null if the value is unknown.
|
static MessengerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessengerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessengerType Generic
public static final MessengerType Kafka
public static final MessengerType Twilio
public static MessengerType[] values()
for (MessengerType c : MessengerType.values()) System.out.println(c);
public static MessengerType 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 MessengerType safeValueOf(String value)
value
- the string name of the messenger typeCopyright © 2021. All rights reserved.