Class TimestampLogFileLine


  • @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
    public final class TimestampLogFileLine
    extends Object
    Value class representing a single record in the abstract, regardless of how the storage of that record is implemented.
    • Constructor Detail

      • TimestampLogFileLine

        public TimestampLogFileLine​(Timestamp timestamp,
                                    String logFileLine)
    • Method Detail

      • getTimestamp

        public Optional<Timestamp> getTimestamp()
        Return the timestamp associated with the record, if present.
      • getLogFileLine

        public Optional<String> getLogFileLine()
        Return the log file line associated with the record, if present. This log file line may contain console notes. It is the caller's responsibility to remove any console notes if desired.