Class 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 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 class IssuesDetail
        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