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