Klasse SummaryModel
java.lang.Object
io.jenkins.plugins.analysis.core.model.SummaryModel
Summary message of a static analysis run. This message is shown as part of the 'summary.jelly' information of the
associated
ResultAction
.
Tool Name: %d issues from %d analyses - Results from analyses {%s, ... %s} - %d new issues (since build %d) - %d outstanding issues - %d fixed issues - No issues since build %d - Quality gates: passed (Reference build %d)
- Autor:
- Ullrich Hafner
-
Konstruktorübersicht
KonstruktorBeschreibungSummaryModel
(StaticAnalysisLabelProvider labelProvider, AnalysisResult result) Creates a newSummaryModel
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungint
Returns the number of analysis files that have been parsed in this step.org.eclipse.collections.api.list.ImmutableList
<String> int
getId()
int
int
int
getName()
int
int
io.jenkins.plugins.util.QualityGateStatus
Renders the reference build as an HTML link.getTitle()
Returns the title for the small information box in the corresponding build page.getTools()
Returns the tools that contribute to this result.int
boolean
boolean
int
Returns the number of issues for a specific tool given by itsorigin
value.
-
Konstruktordetails
-
SummaryModel
Creates a newSummaryModel
.- Parameter:
labelProvider
- the label provider to get the labels for the static analysis toolresult
- the result of the static analysis tool
-
-
Methodendetails
-
getId
-
getName
-
getTitle
Returns the title for the small information box in the corresponding build page.- Gibt zurück:
- the title
-
getAnalysesCount
public int getAnalysesCount()Returns the number of analysis files that have been parsed in this step.- Gibt zurück:
- the number of analysis files
-
getErrors
-
getTotalSize
public int getTotalSize() -
getNewSize
public int getNewSize() -
getFixedSize
public int getFixedSize() -
getModifiedSize
public int getModifiedSize() -
getModifiedNewSize
public int getModifiedNewSize() -
getModifiedOutstandingSize
public int getModifiedOutstandingSize() -
getTools
Returns the tools that contribute to this result.- Gibt zurück:
- the tools that have been used in this report
-
totalSize
Returns the number of issues for a specific tool given by itsorigin
value.- Parameter:
origin
- the ID of the tool- Gibt zurück:
- the number of issues for this tool
-
getQualityGateStatus
public io.jenkins.plugins.util.QualityGateStatus getQualityGateStatus() -
isResetQualityGateVisible
public boolean isResetQualityGateVisible() -
getReferenceBuild
-
getReferenceBuildLink
Renders the reference build as an HTML link.- Gibt zurück:
- the reference build
- Siehe auch:
-
isZeroIssuesHighscore
public boolean isZeroIssuesHighscore() -
getNoIssuesSinceBuild
public int getNoIssuesSinceBuild() -
getZeroIssuesHighscoreMessage
-