public class ConsoleInteractiveConfigurer extends Object implements InteractiveConfigurer
| Constructor and Description |
|---|
ConsoleInteractiveConfigurer()
Public Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
configure(String name,
String description,
String defaultValue)
Configure an item.
|
PrintWriter |
getWriter()
Gets the PrintWriter to use when interacting with a user.
|
public ConsoleInteractiveConfigurer()
throws IOException
IOException - indicating processing failurepublic String configure(String name, String description, String defaultValue) throws IOException
configure in interface InteractiveConfigurername - the name of the item to be configureddescription - the item descriptiondefaultValue - the item default valueIOException - indicating processing failurepublic PrintWriter getWriter()
getWriter in interface InteractiveConfigurerCopyright © 2013–2017 Polago AB. All rights reserved.