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 ConsoleState
public boolean isCommandLine(java.lang.String line)
isCommandLine
in class ConsoleState
public boolean isFinished()
isFinished
in class ConsoleState
public boolean isRunning()
isRunning
in class ConsoleState
public void sendUserInput(java.lang.String input) throws java.io.IOException
sendUserInput
in class ConsoleState
java.io.IOException
public ConsoleState attachTo(ConsoleViewImpl console, ProcessHandler processHandler)
attachTo
in class ConsoleState
public java.lang.String toString()
toString
in class java.lang.Object