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.PackageExceptionvoid messageError(java.lang.String msg)
throws PackageException
msg - The message to display.PackageExceptionvoid logInfo(java.lang.String msg)
throws PackageException
msg - The log message.PackageExceptionboolean 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.PackageExceptionjava.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.PackageExceptionCopyright © 2015-2019 EXPath. All Rights Reserved