Class FixedWarningsDetail
- java.lang.Object
-
- io.jenkins.plugins.datatables.DefaultAsyncTableContentProvider
-
- io.jenkins.plugins.analysis.core.model.IssuesDetail
-
- io.jenkins.plugins.analysis.core.model.FixedWarningsDetail
-
- All Implemented Interfaces:
ModelObject
,io.jenkins.plugins.datatables.AsyncTableContentProvider
public class FixedWarningsDetail extends IssuesDetail
Result object to visualize the fixed issues in a build.- Author:
- Ullrich Hafner
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canDisplayFile(edu.hm.hafner.analysis.Issue issue)
Returns whether the affected file of the specified fixed issue can be shown in the UI.String
getReferenceUrl()
Returns the URL to the results of the same type of issues (i.e.-
Methods inherited from class io.jenkins.plugins.analysis.core.model.IssuesDetail
getApi, getBuildTrend, getBuildTrend, getDetails, getDisplayName, getDynamic, getErrorMessages, getFileDisplayName, getFixedIssues, getHealthTrend, getHealthTrend, getInfoMessages, getIssues, getLabelProvider, getLocalizedSeverity, getNewIssues, getNewVersusFixedTrend, getNewVersusFixedTrend, getOutstandingIssues, getOwner, getSeverityModel, getTabLabelProvider, getTableModel, getToolsTrend, getToolsTrend, getTrendModel, getUrl, getUrlForBuild, isBlameVisible, isCurrent, isForensicsVisible, isHealthReportEnabled, resetReference
-
-
-
-
Method Detail
-
canDisplayFile
public boolean canDisplayFile(edu.hm.hafner.analysis.Issue issue)
Returns whether the affected file of the specified fixed issue can be shown in the UI.- Overrides:
canDisplayFile
in classIssuesDetail
- Parameters:
issue
- the issue to get the affected file for- Returns:
true
if the file could be shown,false
otherwise
-
getReferenceUrl
public String getReferenceUrl()
Returns the URL to the results of the same type of issues (i.e. same ID) in the reference build.If no reference build is found, then an empty string is returned.
- Returns:
- URL to the results of the reference build
-
-