Class NullReportHistory
java.lang.Object
io.jenkins.plugins.reporter.model.NullReportHistory
- All Implemented Interfaces:
History,Iterable<edu.hm.hafner.echarts.BuildResult<ReportResult>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the baseline action (if already available).Returns the baseline result (if already available).getBuild()Returns the build that contains the historical result (if there is any).Returns the report of the historical result.Returns the historical result (if there is any).booleanReturns whether this history has more than one result.Iterator<edu.hm.hafner.echarts.BuildResult<ReportResult>>iterator()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
NullReportHistory
public NullReportHistory()
-
-
Method Details
-
getBaselineAction
Description copied from interface:HistoryReturns the baseline action (if already available).- Specified by:
getBaselineActionin interfaceHistory- Returns:
- the baseline action
-
getBaselineResult
Description copied from interface:HistoryReturns the baseline result (if already available).- Specified by:
getBaselineResultin interfaceHistory- Returns:
- the baseline result
-
getResult
Description copied from interface:HistoryReturns the historical result (if there is any). -
getBuild
Description copied from interface:HistoryReturns the build that contains the historical result (if there is any). -
getReport
Description copied from interface:HistoryReturns the report of the historical result. If there is no historical build found, then an empty report is returned. -
iterator
- Specified by:
iteratorin interfaceHistory- Specified by:
iteratorin interfaceIterable<edu.hm.hafner.echarts.BuildResult<ReportResult>>
-
hasMultipleResults
public boolean hasMultipleResults()Description copied from interface:HistoryReturns whether this history has more than one result.- Specified by:
hasMultipleResultsin interfaceHistory- Returns:
trueif there are multiple results,falseotherwise
-