public enum AlwaysNeverAskUserResponse extends Enum<AlwaysNeverAskUserResponse>
| Enum Constant and Description |
|---|
ALWAYS
Indicates to silently assume a positive response.
|
ASK
Indicates to ask the user.
|
NEVER
Indicates to silently assume a negative response.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAlways() |
boolean |
isAsk() |
boolean |
isNever() |
static AlwaysNeverAskUserResponse |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AlwaysNeverAskUserResponse |
valueOfWithAskDefault(String value)
Facilitates parsing a String representation of this enum when the String can be
null.
|
static AlwaysNeverAskUserResponse[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlwaysNeverAskUserResponse ALWAYS
public static final AlwaysNeverAskUserResponse NEVER
public static final AlwaysNeverAskUserResponse ASK
public static AlwaysNeverAskUserResponse[] values()
for (AlwaysNeverAskUserResponse c : AlwaysNeverAskUserResponse.values()) System.out.println(c);
public static AlwaysNeverAskUserResponse 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 boolean isAlways()
public boolean isNever()
public boolean isAsk()
public static AlwaysNeverAskUserResponse valueOfWithAskDefault(String value)
value - Value. Can be null.Copyright © 2015–2016 AZYVA INC.. All rights reserved.