Klasse ForensicsJobAction

java.lang.Object
io.jenkins.plugins.util.JobAction<ForensicsBuildAction>
io.jenkins.plugins.echarts.AsyncTrendJobAction<ForensicsBuildAction>
io.jenkins.plugins.echarts.AsyncConfigurableTrendJobAction<ForensicsBuildAction>
io.jenkins.plugins.forensics.miner.ForensicsJobAction
Alle implementierten Schnittstellen:
Action, ModelObject, io.jenkins.plugins.echarts.AsyncConfigurableTrendChart, io.jenkins.plugins.echarts.AsyncTrendChart

public class ForensicsJobAction extends io.jenkins.plugins.echarts.AsyncConfigurableTrendJobAction<ForensicsBuildAction>
A job action displays a link on the side panel of a job that refers to the last build that contains forensic results (i.e. a ForensicsBuildAction with a RepositoryStatistics instance). This action also is responsible to render the historical trend via its associated 'floatingBox.jelly' view.
Autor:
Ullrich Hafner
  • Konstruktordetails

    • ForensicsJobAction

      public ForensicsJobAction(Job<?,?> owner, String scmKey)
      Creates a new instance of ForensicsJobAction.
      Parameter:
      owner - the job that owns this action
      scmKey - key of the repository
  • Methodendetails

    • getScmKey

      public String getScmKey()
    • createBuildHistory

      protected Iterable<? extends edu.hm.hafner.echarts.BuildResult<ForensicsBuildAction>> createBuildHistory()
      Setzt außer Kraft:
      createBuildHistory in Klasse io.jenkins.plugins.echarts.AsyncTrendJobAction<ForensicsBuildAction>
    • createChartModel

      protected edu.hm.hafner.echarts.LinesChartModel createChartModel(String configuration)
      Angegeben von:
      createChartModel in Klasse io.jenkins.plugins.echarts.AsyncConfigurableTrendJobAction<ForensicsBuildAction>
    • getDisplayName

      public String getDisplayName()
    • getIconFileName

      @CheckForNull public String getIconFileName()
      Returns the icon URL for the side-panel in the job screen. If there is no valid result yet, then null is returned.
      Gibt zurück:
      the icon URL for the side-panel in the job screen
    • getUrlName

      public String getUrlName()