Class Terminal
java.lang.Object
dev.galasa.zos3270.common.screens.Terminal
Pojo to contain a set of terminal images. may not necessary contain all the
terminal images for a session.
These pojos are stored in a local directory for inflight tests, and in the
RAS.
-
Constructor Summary
ConstructorDescriptionTerminal
(@NotNull String id, @NotNull String runId, int sequence, @NotNull TerminalSize defaultSize) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
addImage
(@NotNull TerminalImage image) Add a new image to the terminal@NotNull TerminalSize
Fetch the default size@NotNull String
getId()
Fetch the ID@NotNull List<TerminalImage>
Fetch the ImagesgetRunId()
int
Fetch the sequence number
-
Constructor Details
-
Terminal
public Terminal(@NotNull @NotNull String id, @NotNull @NotNull String runId, int sequence, @NotNull @NotNull TerminalSize defaultSize) Constructor- Parameters:
id
- Terminal IDsequence
- Sequence number of this pojo for this terminaldefaultSize
- Default size of the terminal
-
-
Method Details
-
getId
Fetch the ID- Returns:
- id
-
getImages
Fetch the Images- Returns:
- images
-
addImage
Add a new image to the terminal- Parameters:
image
- new image
-
getDefaultSize
Fetch the default size- Returns:
- Default size
-
getSequence
public int getSequence()Fetch the sequence number- Returns:
- sequence
-
getRunId
-