Package hudson.plugins.plot
Class PlotAction
- java.lang.Object
-
- hudson.plugins.plot.PlotAction
-
- All Implemented Interfaces:
Action
,ModelObject
,org.kohsuke.stapler.StaplerProxy
public class PlotAction extends Object implements Action, org.kohsuke.stapler.StaplerProxy
Project action to display plots.- Author:
- Nigel Daley
-
-
Constructor Summary
Constructors Constructor Description PlotAction(AbstractProject<?,?> project, PlotPublisher publisher)
PlotAction(Job<?,?> job, List<Plot> plots)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getDisplayName()
PlotReport
getDynamic(String group, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
String
getIconFileName()
Job<?,?>
getJob()
List<String>
getOriginalGroups()
AbstractProject<?,?>
getProject()
Deprecated.Object
getTarget()
If there's only one plot category, simply display that category of reports on this view.String
getUrlGroup(String originalGroup)
String
getUrlName()
boolean
hasPlots()
-
-
-
Constructor Detail
-
PlotAction
public PlotAction(AbstractProject<?,?> project, PlotPublisher publisher)
-
-
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
-
hasPlots
public boolean hasPlots() throws IOException
- Throws:
IOException
-
getProject
@Deprecated public AbstractProject<?,?> getProject()
Deprecated.
-
getJob
public Job<?,?> getJob()
-
getDynamic
public PlotReport getDynamic(String group, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException
- Throws:
IOException
-
getTarget
public Object getTarget()
If there's only one plot category, simply display that category of reports on this view.- Specified by:
getTarget
in interfaceorg.kohsuke.stapler.StaplerProxy
-
-