Class IssuesModel

java.lang.Object
io.jenkins.plugins.datatables.TableModel
io.jenkins.plugins.analysis.core.model.DetailsTableModel
io.jenkins.plugins.analysis.core.model.IssuesModel

public class IssuesModel extends DetailsTableModel
Provides the dynamic model for the details table that shows the issue properties.

This issues model consists of the following columns:

  • issue details (message and description)
  • file name
  • package name (if there are multiple packages)
  • category (if there are multiple categories)
  • type (if there are multiple types)
  • severity
  • age
Author:
Ullrich Hafner
  • Method Details

    • getId

      public String getId()
      Specified by:
      getId in class io.jenkins.plugins.datatables.TableModel
    • getColumns

      public List<io.jenkins.plugins.datatables.TableColumn> getColumns()
      Specified by:
      getColumns in class io.jenkins.plugins.datatables.TableModel
    • getRow

      public IssuesModel.IssuesRow getRow(edu.hm.hafner.analysis.Issue issue)
      Description copied from class: DetailsTableModel
      Returns a table row for the specified issue.
      Specified by:
      getRow in class DetailsTableModel
      Parameters:
      issue - the issue to show in the row
      Returns:
      a table row for the issue