public interface ShellCommandReader
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Called by the shell when exiting.
|
boolean |
isBatch() |
void |
open()
Called to open the shell command reader.
|
String |
promptForInput(String prompt)
Prompts the user for some input.
|
String |
promptForPassword(String prompt)
Prompts the user for a password.
|
ShellCommand |
read()
Reads the next command from the input source.
|
void open()
throws IOException
IOExceptionShellCommand read() throws Exception
Exceptionvoid close()
throws IOException
IOExceptionboolean isBatch()
String promptForInput(String prompt)
prompt - Copyright © 2011-2014 JBoss, a division of Red Hat. All Rights Reserved.