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