Package org.springframework.shell.test
Interface ShellTestClient.BaseShellSession<T extends ShellTestClient.BaseShellSession<T>>
- All Known Subinterfaces:
ShellTestClient.InteractiveShellSession
,ShellTestClient.NonInteractiveShellSession
- All Known Implementing Classes:
ShellTestClient.DefaultInteractiveShellSession
,ShellTestClient.DefaultNonInteractiveShellSession
- Enclosing interface:
- ShellTestClient
public static interface ShellTestClient.BaseShellSession<T extends ShellTestClient.BaseShellSession<T>>
-
Method Details
-
writeSequence
ShellWriteSequence writeSequence()Get a write sequencer.- Returns:
- a write sequencer
-
screen
ShellScreen screen()Read the screen.- Returns:
- the screen
-
write
Write plain text into a shell.- Parameters:
text
- the text- Returns:
- client for chaining
-
run
T run()Run a session.- Returns:
- client for chaining
-
isComplete
boolean isComplete()
-