| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public int | |
| public <T> T | prompt(String prompt, T valueIfNoEntry, InputHandler<T> inputHandler, Class<T> type)
Prompt the user with the message and wait for a response. |
| public void | |
| public void | sendErrorMessage(String message, Throwable exception)
Send an "error" message to the user along with a stacktrace. |
| public void | |
| public void | setAllowPrompt(boolean
New flag value allowPrompt)Method to set flag indicating whether prompting is allowed |
| getAllowPrompt | back to summary |
|---|---|
| public boolean getAllowPrompt() Return current setting of allow prompt flag
| |
| getPriority | back to summary |
|---|---|
| public int getPriority() | |
| prompt | back to summary |
|---|---|
| public <T> T prompt(String prompt, T valueIfNoEntry, InputHandler<T> inputHandler, Class<T> type) Prompt the user with the message and wait for a response. | |
| sendErrorMessage | back to summary |
|---|---|
| public void sendErrorMessage(String message) Send an "error" message to the user. | |
| sendErrorMessage | back to summary |
|---|---|
| public void sendErrorMessage(String message, Throwable exception) Send an "error" message to the user along with a stacktrace. | |
| sendMessage | back to summary |
|---|---|
| public void sendMessage(String message) Send a "normal" message to the user. | |
| setAllowPrompt | back to summary |
|---|---|
| public void setAllowPrompt(boolean allowPrompt) throws IllegalArgumentException Method to set flag indicating whether prompting is allowed
| |