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 Summary
Constructors Constructor Description PitBuildAction(hudson.model.Run<?,?> owner) -
Method Summary
Modifier and Type Method Description voiddoGraph(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)Generates the graph that shows the coverage trend up to this report.hudson.model.HealthReportgetBuildHealth()StringgetDisplayName()StringgetIconFileName()PitBuildActiongetPreviousAction()PitBuildActiongetPreviousResult()Getter for property 'previousResult'.ProjectMutationsgetReport()Map<String,MutationReport>getReports()ProjectMutationsgetTarget()StringgetUrlName()
-
Constructor Details
-
PitBuildAction
public PitBuildAction(hudson.model.Run<?,?> owner)
-
-
Method Details
-
getPreviousAction
-
getTarget
- Specified by:
getTargetin interfaceorg.kohsuke.stapler.StaplerProxy
-
getReport
-
getReports
-
getPreviousResult
Getter for property 'previousResult'.- Returns:
- Value for property 'previousResult'.
-
getBuildHealth
public hudson.model.HealthReport getBuildHealth()- Specified by:
getBuildHealthin interfacehudson.model.HealthReportingAction
-
getIconFileName
- Specified by:
getIconFileNamein interfacehudson.model.Action
-
getDisplayName
- Specified by:
getDisplayNamein interfacehudson.model.Action- Specified by:
getDisplayNamein interfacehudson.model.ModelObject
-
getUrlName
- Specified by:
getUrlNamein interfacehudson.model.Action
-
doGraph
public void doGraph(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOExceptionGenerates the graph that shows the coverage trend up to this report.- Parameters:
req-StaplerRequestrsp-StaplerResponse- Throws:
IOException- if sending the redirect or generating graph fails
-