Class LogLine<Id>

java.lang.Object
io.jenkins.plugins.opentelemetry.job.log.LogLine<Id>
Type Parameters:
Id - identifier of the log line within the search query results (e.g. Long line number for Elasticsearch or the Long timestamp in nanos for Loki)

public class LogLine<Id> extends Object
Represents a build log line.
  • Constructor Details

    • LogLine

      public LogLine(@Nonnull Id id, @Nonnull String message)
  • Method Details

    • getId

      @Nonnull public Id getId()
      Returns:
      the identifier of the log line within the search query results (e.g. Long line number for Elasticsearch or the Long timestamp in nanos for Loki)
    • getMessage

      @Nonnull public String getMessage()
    • toString

      public String toString()
      Overrides:
      toString in class Object