public enum NotificationOption extends java.lang.Enum<NotificationOption>
| Enum Constant and Description |
|---|
accept
Accept option.
|
apply
Decline option.
|
cancel
Cancel option.
|
choose
Choose option.
|
commit
Decline option.
|
configure
Configure option.
|
decline
Decline option.
|
discard
Discard option.
|
install
Install option.
|
no
No option.
|
open
Open option.
|
reset
Reset option.
|
retry
Retry option.
|
save
Save option.
|
setup
Setup option.
|
uninstall
Uninstall option.
|
yes
Yes option.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getLanguageKey()
Returns language key for this option.
|
java.lang.String |
getText()
Returns translation text for this option.
|
static NotificationOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NotificationOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotificationOption yes
public static final NotificationOption no
public static final NotificationOption cancel
public static final NotificationOption choose
public static final NotificationOption accept
public static final NotificationOption decline
public static final NotificationOption apply
public static final NotificationOption commit
public static final NotificationOption discard
public static final NotificationOption reset
public static final NotificationOption retry
public static final NotificationOption save
public static final NotificationOption open
public static final NotificationOption setup
public static final NotificationOption configure
public static final NotificationOption install
public static final NotificationOption uninstall
public static NotificationOption[] values()
for (NotificationOption c : NotificationOption.values()) System.out.println(c);
public static NotificationOption valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getLanguageKey()
public java.lang.String getText()