public class ConsoleViewRunningState extends ConsoleState
ConsoleState.NotStartedStated| Constructor and Description |
|---|
ConsoleViewRunningState(ConsoleViewImpl console,
ProcessHandler processHandler,
ConsoleState finishedStated,
boolean attachToStdOut,
boolean attachToStdIn) |
| Modifier and Type | Method and Description |
|---|---|
ConsoleState |
attachTo(ConsoleViewImpl console,
ProcessHandler processHandler) |
ConsoleState |
dispose() |
boolean |
isCommandLine(java.lang.String line) |
boolean |
isFinished() |
boolean |
isRunning() |
void |
sendUserInput(java.lang.String input) |
java.lang.String |
toString() |
public ConsoleViewRunningState(ConsoleViewImpl console, ProcessHandler processHandler, ConsoleState finishedStated, boolean attachToStdOut, boolean attachToStdIn)
public ConsoleState dispose()
dispose in class ConsoleStatepublic boolean isCommandLine(java.lang.String line)
isCommandLine in class ConsoleStatepublic boolean isFinished()
isFinished in class ConsoleStatepublic boolean isRunning()
isRunning in class ConsoleStatepublic void sendUserInput(java.lang.String input)
throws java.io.IOException
sendUserInput in class ConsoleStatejava.io.IOExceptionpublic ConsoleState attachTo(ConsoleViewImpl console, ProcessHandler processHandler)
attachTo in class ConsoleStatepublic java.lang.String toString()
toString in class java.lang.Object