Package org.springframework.shell.test
Class ShellTestClient.DefaultInteractiveShellSession
java.lang.Object
org.springframework.shell.test.ShellTestClient.DefaultInteractiveShellSession
- All Implemented Interfaces:
- ShellTestClient.BaseShellSession<ShellTestClient.InteractiveShellSession>,- ShellTestClient.InteractiveShellSession
- Enclosing interface:
- ShellTestClient
public static class ShellTestClient.DefaultInteractiveShellSession
extends Object
implements ShellTestClient.InteractiveShellSession
- 
Constructor SummaryConstructorsConstructorDescriptionDefaultInteractiveShellSession(Shell shell, PromptProvider promptProvider, org.jline.reader.LineReader lineReader, BlockingQueue<ShellTestClient.ShellRunnerTaskData> blockingQueue, TerminalSession terminalSession, org.jline.terminal.Terminal terminal) 
- 
Method Summary
- 
Constructor Details- 
DefaultInteractiveShellSessionpublic DefaultInteractiveShellSession(Shell shell, PromptProvider promptProvider, org.jline.reader.LineReader lineReader, BlockingQueue<ShellTestClient.ShellRunnerTaskData> blockingQueue, TerminalSession terminalSession, org.jline.terminal.Terminal terminal) 
 
- 
- 
Method Details- 
writeSequenceDescription copied from interface:ShellTestClient.BaseShellSessionGet a write sequencer.- Specified by:
- writeSequencein interface- ShellTestClient.BaseShellSession<ShellTestClient.InteractiveShellSession>
- Returns:
- a write sequencer
 
- 
writeDescription copied from interface:ShellTestClient.BaseShellSessionWrite plain text into a shell.- Specified by:
- writein interface- ShellTestClient.BaseShellSession<ShellTestClient.InteractiveShellSession>
- Parameters:
- text- the text
- Returns:
- client for chaining
 
- 
screenDescription copied from interface:ShellTestClient.BaseShellSessionRead the screen.- Specified by:
- screenin interface- ShellTestClient.BaseShellSession<ShellTestClient.InteractiveShellSession>
- Returns:
- the screen
 
- 
runDescription copied from interface:ShellTestClient.BaseShellSessionRun a session.- Specified by:
- runin interface- ShellTestClient.BaseShellSession<ShellTestClient.InteractiveShellSession>
- Returns:
- client for chaining
 
- 
isCompletepublic boolean isComplete()- Specified by:
- isCompletein interface- ShellTestClient.BaseShellSession<ShellTestClient.InteractiveShellSession>
 
 
-