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

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.CurrentHealthAction

public class CurrentHealthAction
extends org.apache.struts.tiles.actions.TilesAction

An TilesAction that retrieves metric data to facilitate display of a current health page. Input is either a single resource (param 'id'), a group (param 'groupId') or an autogroup (params 'type' and 'parent')


Field Summary
protected static org.apache.commons.logging.Log log
           
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
CurrentHealthAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward execute(org.apache.struts.tiles.ComponentContext context, org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  void setupViews(javax.servlet.http.HttpServletRequest request, IndicatorViewsForm ivf, String key)
          Set up the IndicatorViewsForm.getViews() list of views for the current indicator charts page.
 
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

CurrentHealthAction

public CurrentHealthAction()
Method Detail

execute

public org.apache.struts.action.ActionForward execute(org.apache.struts.tiles.ComponentContext context,
                                                      org.apache.struts.action.ActionMapping mapping,
                                                      org.apache.struts.action.ActionForm form,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response)
                                               throws Exception
Overrides:
execute in class org.apache.struts.tiles.actions.TilesAction
Throws:
Exception

setupViews

protected void setupViews(javax.servlet.http.HttpServletRequest request,
                          IndicatorViewsForm ivf,
                          String key)
Set up the IndicatorViewsForm.getViews() list of views for the current indicator charts page. The key generated here needs to correspond to the one in IndicatorChartsAction#generateSessionKey(IndicatorViewsForm form, true)



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