Class UriReport.Sample

java.lang.Object
hudson.plugins.performance.reports.UriReport.Sample
All Implemented Interfaces:
Serializable, Comparable<UriReport.Sample>
Enclosing class:
UriReport

public static class UriReport.Sample extends Object implements Serializable, Comparable<UriReport.Sample>
See Also:
  • Field Details

    • date

      protected final Date date
    • duration

      protected final long duration
    • httpCode

      protected final String httpCode
    • isSuccessful

      protected final boolean isSuccessful
    • isSummarizer

      protected final boolean isSummarizer
  • Constructor Details

    • Sample

      public Sample(Date date, long duration, String httpCode, boolean isSuccessful, boolean isSummarizer)
  • Method Details

    • convertFromHttpSample

      public static UriReport.Sample convertFromHttpSample(HttpSample httpSample)
    • getHttpCode

      public String getHttpCode()
    • getDate

      public Date getDate()
    • getDuration

      public long getDuration()
    • isSuccessful

      public boolean isSuccessful()
    • isFailed

      public boolean isFailed()
    • isSummarizer

      public boolean isSummarizer()
    • compareTo

      public int compareTo(UriReport.Sample other)
      Compare first based on duration, next on date.
      Specified by:
      compareTo in interface Comparable<UriReport.Sample>
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object