public interface UserInteractionStrategy
| Modifier and Type | Method and Description |
|---|---|
boolean |
ask(java.lang.String prompt,
boolean dflt)
Ask something to the user (the response must be a
boolean.) |
java.lang.String |
ask(java.lang.String prompt,
java.lang.String dflt)
Ask something to the user (the response must be a
String.) |
void |
logInfo(java.lang.String msg)
A log message, "info" level.
|
void |
messageError(java.lang.String msg)
A message to display to the user, "error" level.
|
void |
messageInfo(java.lang.String msg)
A message to display to the user, "info" level.
|
void messageInfo(java.lang.String msg)
throws PackageException
msg - The message to display.PackageException - if an error occursvoid messageError(java.lang.String msg)
throws PackageException
msg - The message to display.PackageException - if an error occursvoid logInfo(java.lang.String msg)
throws PackageException
msg - The log message.PackageException - if an error occursboolean ask(java.lang.String prompt,
boolean dflt)
throws PackageException
boolean.)prompt - The prompt to display to the user (to ask the question.)dflt - The default value to propose.PackageException - if an error occursjava.lang.String ask(java.lang.String prompt,
java.lang.String dflt)
throws PackageException
String.)prompt - The prompt to display to the user (to ask the question.)dflt - The default value to propose.PackageException - if an error occursCopyright © 2015-2023 EXPath. All Rights Reserved