hudson.plugins.plot
Class PlotAction

java.lang.Object
  extended by hudson.plugins.plot.PlotAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject, java.io.Serializable, org.kohsuke.stapler.StaplerProxy

public class PlotAction
extends java.lang.Object
implements hudson.model.Action, org.kohsuke.stapler.StaplerProxy

Project action to display plots.

Author:
Nigel Daley
See Also:
Serialized Form

Constructor Summary
PlotAction(hudson.model.Project project, PlotPublisher publisher)
           
 
Method Summary
 java.lang.String getDisplayName()
           
 PlotReport getDynamic(java.lang.String group, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
           
 java.lang.String getIconFileName()
           
 java.lang.String[] getOriginalGroups()
           
 hudson.model.Project getProject()
           
 java.lang.Object getTarget()
          If there's only one plot category, simply display that category of reports on this view.
 java.lang.String getUrlGroup(java.lang.String originalGroup)
           
 java.lang.String getUrlName()
           
 boolean hasPlots()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlotAction

public PlotAction(hudson.model.Project project,
                  PlotPublisher publisher)
Method Detail

getProject

public hudson.model.Project getProject()

getDisplayName

public java.lang.String getDisplayName()
Specified by:
getDisplayName in interface hudson.model.Action
Specified by:
getDisplayName in interface hudson.model.ModelObject

getIconFileName

public java.lang.String getIconFileName()
Specified by:
getIconFileName in interface hudson.model.Action

getUrlName

public java.lang.String getUrlName()
Specified by:
getUrlName in interface hudson.model.Action

hasPlots

public boolean hasPlots()
                 throws java.io.IOException
Throws:
java.io.IOException

getOriginalGroups

public java.lang.String[] getOriginalGroups()

getUrlGroup

public java.lang.String getUrlGroup(java.lang.String originalGroup)

getDynamic

public PlotReport getDynamic(java.lang.String group,
                             org.kohsuke.stapler.StaplerRequest req,
                             org.kohsuke.stapler.StaplerResponse rsp)
                      throws java.io.IOException
Throws:
java.io.IOException

getTarget

public java.lang.Object getTarget()
If there's only one plot category, simply display that category of reports on this view.

Specified by:
getTarget in interface org.kohsuke.stapler.StaplerProxy


Copyright © 2007. All Rights Reserved.