public static class ChoiceSelector.ChoiceEntry extends Object
| Modifier and Type | Field and Description |
|---|---|
private String |
choice
The choice.
|
private boolean |
incomplete
Is incomplete?
|
static String |
INCOMPLETE_TEXT
Text shown to the user in case of incompletness.
|
private String |
information
An optionally information.
|
private boolean |
unsound
Is unsound?
|
static String |
UNSOUND_TEXT
Text shown to the user in case of unsoundness.
|
| Constructor and Description |
|---|
ChoiceEntry(String choice,
boolean unsound,
boolean incomplete,
String information)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getChoice()
Returns the choice.
|
String |
getInformation()
Returns the optionally information.
|
int |
hashCode() |
boolean |
isIncomplete()
Checks for completeness.
|
boolean |
isUnsound()
Checks for soundness.
|
String |
toString() |
public static final String INCOMPLETE_TEXT
public static final String UNSOUND_TEXT
private final String choice
private final boolean unsound
private final boolean incomplete
private final String information
public String getChoice()
public boolean isUnsound()
true unsound, false sound.public boolean isIncomplete()
true incomplete, false complete.public String getInformation()