Interface TerminalSession
- All Superinterfaces:
AutoCloseable
A terminal with some back-end element attached to it
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidclose()default Stringcontent()Get the terminal contents as a string (no attributes)Provide a human-readable description of the sessiondefault booleanCheck whether the terminal session is terminated or still activedefault voidshow()Ensure the session is visibleterminal()The handle to the terminalvoidTerminate the session without closing the terminaldefault Stringtitle()Get the current title of the terminal
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
IOException
-
terminal
-
show
default void show()Ensure the session is visibleThe window should be displayed and brought to the front.
-
terminate
Terminate the session without closing the terminal- Throws:
IOException- if an I/O issue occurs during termination
-
isTerminated
default boolean isTerminated()Check whether the terminal session is terminated or still active- Returns:
- true for terminated, false for active
-
description
-
content
-
title
-