Package com.fortify.plugin.jenkins
Class ChartAction
- java.lang.Object
-
- com.fortify.plugin.jenkins.ChartAction
-
- All Implemented Interfaces:
Action
,ModelObject
public class ChartAction extends Object implements Action
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ChartAction.RunListenerImpl
-
Constructor Summary
Constructors Constructor Description ChartAction(Job<?,?> project, boolean isPipeline, String appName, String appVersion)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.jfree.chart.JFreeChart
createChart(org.jfree.data.category.CategoryDataset dataset, String appName, String appVersion)
void
doCheckUpdates(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
void
doGraph(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
String
getAppName()
String
getAppVersion()
String
getDisplayName()
String
getIconFileName()
String
getUrlName()
-
-
-
Method Detail
-
getAppName
public String getAppName()
-
getAppVersion
public String getAppVersion()
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
-
doGraph
public void doGraph(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException
- Throws:
IOException
-
createChart
public static org.jfree.chart.JFreeChart createChart(org.jfree.data.category.CategoryDataset dataset, String appName, String appVersion) throws IOException
- Throws:
IOException
-
doCheckUpdates
public void doCheckUpdates(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
-