public enum NotificationProtocol extends Enum<NotificationProtocol>
Modifier and Type | Class and Description |
---|---|
static class |
NotificationProtocol.Adapter |
Enum Constant and Description |
---|
APPLICATION |
SMS |
Modifier and Type | Method and Description |
---|---|
static NotificationProtocol |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static NotificationProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NotificationProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotificationProtocol APPLICATION
public static final NotificationProtocol SMS
public static NotificationProtocol[] values()
for (NotificationProtocol c : NotificationProtocol.values()) System.out.println(c);
public static NotificationProtocol 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 String getValue()
public String toString()
toString
in class Enum<NotificationProtocol>
public static NotificationProtocol fromValue(String text)
Copyright © 2022 Sage Bionetworks. All rights reserved.