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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Date
date
protected long
duration
protected String
httpCode
protected boolean
isSuccessful
protected boolean
isSummarizer
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(UriReport.Sample other)
Compare first based on duration, next on date.static UriReport.Sample
convertFromHttpSample(HttpSample httpSample)
boolean
equals(Object obj)
Date
getDate()
long
getDuration()
String
getHttpCode()
int
hashCode()
boolean
isFailed()
boolean
isSuccessful()
boolean
isSummarizer()
-
-
-
Method Detail
-
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 interfaceComparable<UriReport.Sample>
-
-