Class Terminal

java.lang.Object
dev.galasa.zos3270.common.screens.Terminal

public class Terminal extends Object
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.
Author:
Michael Baylis
  • Constructor Details

    • Terminal

      public Terminal(@NotNull @NotNull String id, @NotNull @NotNull String runId, int sequence, @NotNull @NotNull TerminalSize defaultSize)
      Constructor
      Parameters:
      id - Terminal ID
      sequence - Sequence number of this pojo for this terminal
      defaultSize - Default size of the terminal
  • Method Details

    • getId

      @NotNull public @NotNull String getId()
      Fetch the ID
      Returns:
      id
    • getImages

      @NotNull public @NotNull List<TerminalImage> getImages()
      Fetch the Images
      Returns:
      images
    • addImage

      public void addImage(@NotNull @NotNull TerminalImage image)
      Add a new image to the terminal
      Parameters:
      image - new image
    • getDefaultSize

      @NotNull public @NotNull TerminalSize getDefaultSize()
      Fetch the default size
      Returns:
      Default size
    • getSequence

      public int getSequence()
      Fetch the sequence number
      Returns:
      sequence
    • getRunId

      public String getRunId()