Package hudson.plugins.jacoco
Class JacocoProjectAction
- java.lang.Object
-
- hudson.plugins.jacoco.JacocoProjectAction
-
- All Implemented Interfaces:
Action
,ModelObject
public final class JacocoProjectAction extends Object implements Action
Project view extension by JaCoCo plugin.- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description JacocoProjectAction(Job<?,?> project)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doGraph(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
String
getDisplayName()
String
getIconFileName()
JacocoBuildAction
getLastResult()
Gets the most recentJacocoBuildAction
object.String
getUrlName()
-
-
-
Field Detail
-
project
public final Job<?,?> project
-
-
Constructor Detail
-
JacocoProjectAction
public JacocoProjectAction(Job<?,?> project)
-
-
Method Detail
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
-
getLastResult
public JacocoBuildAction getLastResult()
Gets the most recentJacocoBuildAction
object.- Returns:
- the most recent jacoco coverage report
-
doGraph
public void doGraph(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException
- Throws:
IOException
-
-