Module org.autogui

Class GuiLogEntryString

java.lang.Object
org.autogui.base.log.GuiLogEntryString
All Implemented Interfaces:
GuiLogEntry
Direct Known Subclasses:
GuiSwingLogEntryString

public class GuiLogEntryString extends Object implements GuiLogEntry
a log-entry for a string
  • Field Details

    • time

      protected Instant time
    • data

      protected String data
    • fromStandard

      protected boolean fromStandard
      Since:
      1.1
  • Constructor Details

    • GuiLogEntryString

      public GuiLogEntryString(String data)
    • GuiLogEntryString

      public GuiLogEntryString(String data, boolean fromStandard)
      Parameters:
      data - the entry string
      fromStandard - whether data comes from System.out
      Since:
      1.1
    • GuiLogEntryString

      public GuiLogEntryString(Instant time, String data)
  • Method Details

    • getTime

      public Instant getTime()
    • getData

      public String getData()
    • isFromStandard

      public boolean isFromStandard()
      Returns:
      indicates that the entry is created from standard output redirection. default is false
      Since:
      1.1
    • toString

      public String toString()
      Overrides:
      toString in class Object