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 void
doGraph(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
Generates the graph that shows the coverage trend up to this report.hudson.model.HealthReport
getBuildHealth()
String
getDisplayName()
String
getIconFileName()
PitBuildAction
getPreviousAction()
PitBuildAction
getPreviousResult()
Getter for property 'previousResult'.ProjectMutations
getReport()
Map<String,MutationReport>
getReports()
ProjectMutations
getTarget()
String
getUrlName()
-
Constructor Details
-
PitBuildAction
public PitBuildAction(hudson.model.Run<?,?> owner)
-
-
Method Details
-
getPreviousAction
-
getTarget
- Specified by:
getTarget
in interfaceorg.kohsuke.stapler.StaplerProxy
-
getReport
-
getReports
-
getPreviousResult
Getter for property 'previousResult'.- Returns:
- Value for property 'previousResult'.
-
getBuildHealth
public hudson.model.HealthReport getBuildHealth()- Specified by:
getBuildHealth
in interfacehudson.model.HealthReportingAction
-
getIconFileName
- Specified by:
getIconFileName
in interfacehudson.model.Action
-
getDisplayName
- Specified by:
getDisplayName
in interfacehudson.model.Action
- Specified by:
getDisplayName
in interfacehudson.model.ModelObject
-
getUrlName
- Specified by:
getUrlName
in 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
-StaplerRequest
rsp
-StaplerResponse
- Throws:
IOException
- if sending the redirect or generating graph fails
-