Klasse PullRequestMonitoringPortlet


public class PullRequestMonitoringPortlet extends io.jenkins.plugins.monitoring.MonitorPortlet
A portlet that can be used for the pull-request-monitoring dashboard. It renders an interactive sunburst diagram for each ResultAction, which is registered at the current users Run.
Simon Symhoven
  • Konstruktordetails

  • Methodendetails

    • getTitle

      public String getTitle()
      Angegeben von:
      getTitle in Klasse io.jenkins.plugins.monitoring.MonitorPortlet
    • getId

      @JavaScriptMethod public String getId()
      Angegeben von:
      getId in Klasse io.jenkins.plugins.monitoring.MonitorPortlet
    • isDefault

      public boolean isDefault()
      Setzt außer Kraft:
      isDefault in Klasse io.jenkins.plugins.monitoring.MonitorPortlet
    • getPreferredWidth

      public int getPreferredWidth()
      Angegeben von:
      getPreferredWidth in Klasse io.jenkins.plugins.monitoring.MonitorPortlet
    • getPreferredHeight

      public int getPreferredHeight()
      Angegeben von:
      getPreferredHeight in Klasse io.jenkins.plugins.monitoring.MonitorPortlet
    • getIconUrl

      public Optional<String> getIconUrl()
      Setzt außer Kraft:
      getIconUrl in Klasse io.jenkins.plugins.monitoring.MonitorPortlet
    • getDetailViewUrl

      public Optional<String> getDetailViewUrl()
      Setzt außer Kraft:
      getDetailViewUrl in Klasse io.jenkins.plugins.monitoring.MonitorPortlet
    • getWarningsModel

      public String getWarningsModel()
      Get the json data for the hierarchical sunburst diagram (used by jelly view).
      Gibt zurück:
      the data as json string.
    • getNoNewWarningsModel

      public String getNoNewWarningsModel()
      Get the json data for the simplified sunburst diagram (used by jelly view).
      Gibt zurück:
      the data as json string.
    • isEmpty

      public boolean isEmpty()
      Check if AnalysisResult issues are empty.
      Gibt zurück:
      true if AnalysisResult issues are empty, else false.
    • hasNoNewWarnings

      public boolean hasNoNewWarnings()
      Check if AnalysisResult issues have no new warnings.
      Gibt zurück:
      true if AnalysisResult issues have now new warnings.
    • hasQualityGate

      public boolean hasQualityGate()
      Check if action has a quality gate.
      Gibt zurück:
      true if action has a quality gate, else false.
    • getQualityGateResultClass

      public String getQualityGateResultClass()
      Get the icon class of the quality gate.
      Gibt zurück:
      the image class of the Jenkins status icon.
    • getQualityGateResultDescription

      public String getQualityGateResultDescription()
      Get the human-readable description of quality gate.
      Gibt zurück:
      the description.