Class PitBuildAction

java.lang.Object
org.jenkinsci.plugins.pitmutation.PitBuildAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.HealthReportingAction, hudson.model.ModelObject, org.kohsuke.stapler.StaplerProxy

public class PitBuildAction
extends Object
implements hudson.model.HealthReportingAction, org.kohsuke.stapler.StaplerProxy
Author:
edward
  • Constructor Details

    • PitBuildAction

      public PitBuildAction​(hudson.model.Run<?,​?> owner)
  • Method Details

    • getPreviousAction

      public PitBuildAction getPreviousAction()
    • getTarget

      public ProjectMutations getTarget()
      Specified by:
      getTarget in interface org.kohsuke.stapler.StaplerProxy
    • getReport

      public ProjectMutations getReport()
    • getReports

      public Map<String,​MutationReport> getReports()
    • getPreviousResult

      public PitBuildAction getPreviousResult()
      Getter for property 'previousResult'.
      Returns:
      Value for property 'previousResult'.
    • getBuildHealth

      public hudson.model.HealthReport getBuildHealth()
      Specified by:
      getBuildHealth in interface hudson.model.HealthReportingAction
    • getIconFileName

      public String getIconFileName()
      Specified by:
      getIconFileName in interface hudson.model.Action
    • getDisplayName

      public String getDisplayName()
      Specified by:
      getDisplayName in interface hudson.model.Action
      Specified by:
      getDisplayName in interface hudson.model.ModelObject
    • getUrlName

      public String getUrlName()
      Specified by:
      getUrlName in interface hudson.model.Action
    • doGraph

      public void doGraph​(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException
      Generates the graph that shows the coverage trend up to this report.
      Parameters:
      req - StaplerRequest
      rsp - StaplerResponse
      Throws:
      IOException - if sending the redirect or generating graph fails