org.rhq.enterprise.gui.legacy.action.resource.common.monitor.visibility
Class PerformanceFormPrepareAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by org.apache.struts.tiles.actions.TilesAction
          extended by org.rhq.enterprise.gui.legacy.action.resource.common.monitor.visibility.MetricsControlFormPrepareAction
              extended by org.rhq.enterprise.gui.legacy.action.resource.common.monitor.visibility.PerformanceFormPrepareAction
Direct Known Subclasses:
UrlPerformanceFormPrepareAction

public class PerformanceFormPrepareAction
extends MetricsControlFormPrepareAction

An Action that prepares pages containing the performance form.

Author:
Ian Springer

Field Summary
protected static org.apache.commons.logging.Log log
           
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
PerformanceFormPrepareAction()
           
 
Method Summary
protected  ChartData createChartData(org.rhq.core.domain.util.PageList<org.rhq.core.domain.measurement.calltime.CallTimeDataComposite> callTimeDataComposites, PerformanceForm form, org.rhq.core.domain.measurement.MeasurementSchedule schedule)
           
 org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Retrieve data needed to display a resource's child metrics form.
protected  void prepareForm(javax.servlet.http.HttpServletRequest request, PerformanceForm form, List<org.rhq.core.domain.measurement.MeasurementSchedule> schedules)
           
 
Methods inherited from class org.rhq.enterprise.gui.legacy.action.resource.common.monitor.visibility.MetricsControlFormPrepareAction
prepareForm
 
Methods inherited from class org.apache.struts.tiles.actions.TilesAction
execute
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.commons.logging.Log log
Constructor Detail

PerformanceFormPrepareAction

public PerformanceFormPrepareAction()
Method Detail

execute

public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping,
                                                      org.apache.struts.action.ActionForm form,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response)
                                               throws Exception
Retrieve data needed to display a resource's child metrics form. Respond to certain button clicks that alter the form display.

Overrides:
execute in class MetricsControlFormPrepareAction
Throws:
Exception

prepareForm

protected void prepareForm(javax.servlet.http.HttpServletRequest request,
                           PerformanceForm form,
                           List<org.rhq.core.domain.measurement.MeasurementSchedule> schedules)
                    throws IllegalArgumentException
Throws:
IllegalArgumentException

createChartData

protected ChartData createChartData(org.rhq.core.domain.util.PageList<org.rhq.core.domain.measurement.calltime.CallTimeDataComposite> callTimeDataComposites,
                                    PerformanceForm form,
                                    org.rhq.core.domain.measurement.MeasurementSchedule schedule)


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.