|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.analysis.core.BuildHistory
hudson.plugins.analysis.core.NullBuildHistory
public class NullBuildHistory
Empty build history.
| Constructor Summary | |
|---|---|
NullBuildHistory()
Creates a new instance of NullBuildHistory. |
|
| Method Summary | |
|---|---|
ResultAction<? extends BuildResult> |
getBaseline()
Returns the baseline action. |
Collection<FileAnnotation> |
getFixedWarnings(Set<FileAnnotation> annotations)
Returns the fixed warnings as a difference between the warnings of the reference build and the specified collection of warnings. |
AbstractHealthDescriptor |
getHealthDescriptor()
Returns the health descriptor used for the builds. |
Collection<FileAnnotation> |
getNewWarnings(Set<FileAnnotation> annotations)
Returns the new warnings as a difference between the specified collection of warnings and the warnings of the reference build. |
BuildResult |
getPreviousResult()
Returns the previous build result. |
AnnotationContainer |
getReferenceAnnotations()
Returns the annotations of the reference build. |
hudson.model.AbstractBuild<?,?> |
getReferenceBuild()
Returns the reference build or null if there is no such
build. |
Calendar |
getTimestamp()
Returns the time of the baseline build. |
boolean |
hasPreviousResult()
Returns whether a previous build result exists. |
boolean |
hasReferenceBuild()
Returns whether a reference build is available to compare the results with. |
boolean |
isEmpty()
Returns whether there is no history available, i.e. |
| Methods inherited from class hudson.plugins.analysis.core.BuildHistory |
|---|
getResultAction |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NullBuildHistory()
NullBuildHistory.
| Method Detail |
|---|
public ResultAction<? extends BuildResult> getBaseline()
BuildHistory
getBaseline in class BuildHistoryBuildHistory.hasPreviousResult()public Calendar getTimestamp()
BuildHistory
getTimestamp in class BuildHistorypublic AnnotationContainer getReferenceAnnotations()
BuildHistory
getReferenceAnnotations in class BuildHistorypublic hudson.model.AbstractBuild<?,?> getReferenceBuild()
BuildHistorynull if there is no such
build.
getReferenceBuild in class BuildHistoryBuildHistory.hasReferenceBuild()public boolean hasReferenceBuild()
BuildHistory
hasReferenceBuild in class BuildHistorytrue if a reference build exists, false
otherwisepublic boolean hasPreviousResult()
BuildHistory
hasPreviousResult in class BuildHistorytrue if a previous build result exists.BuildHistory.isEmpty()public boolean isEmpty()
BuildHistory
isEmpty in class BuildHistorytrue if there is no previous build availableBuildHistory.hasPreviousResult()public BuildResult getPreviousResult()
BuildHistory
getPreviousResult in class BuildHistoryBuildHistory.hasPreviousResult()public Collection<FileAnnotation> getNewWarnings(Set<FileAnnotation> annotations)
BuildHistory
getNewWarnings in class BuildHistoryannotations - the warnings in the current build
public Collection<FileAnnotation> getFixedWarnings(Set<FileAnnotation> annotations)
BuildHistory
getFixedWarnings in class BuildHistoryannotations - the warnings in the current build
public AbstractHealthDescriptor getHealthDescriptor()
BuildHistory
getHealthDescriptor in class BuildHistory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||