hudson.plugins.japex
Class JapexReportAction

java.lang.Object
  extended by hudson.plugins.japex.JapexReportAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject, org.kohsuke.stapler.StaplerProxy

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

Project action to display trend reports.

Author:
Kohsuke Kawaguchi

Constructor Summary
JapexReportAction(hudson.model.Project project)
           
 
Method Summary
 java.lang.String getDisplayName()
           
 TrendReport getDynamic(java.lang.String token, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
           
 java.lang.String getIconFileName()
           
 hudson.model.Project getProject()
           
 TrendReport getReport(java.lang.String configName)
           
 java.util.Collection<TrendReport> getReports()
           
 java.lang.Object getTarget()
          If there's only one TrendReport, simply display that report on this view.
 java.lang.String getUrlName()
           
 boolean hasReports()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JapexReportAction

public JapexReportAction(hudson.model.Project project)
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

getReport

public TrendReport getReport(java.lang.String configName)
                      throws java.io.IOException
Throws:
java.io.IOException

getDynamic

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

hasReports

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

getReports

public java.util.Collection<TrendReport> getReports()
                                             throws java.io.IOException
Throws:
java.io.IOException

getTarget

public java.lang.Object getTarget()
If there's only one TrendReport, simply display that report on this view.

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


Copyright © 2004-2011. All Rights Reserved.