public class CurrentHealthAction
extends org.apache.struts.tiles.actions.TilesAction
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')| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
CurrentHealthAction() |
| Modifier and Type | Method and Description |
|---|---|
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. |
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServletpublic 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
execute in class org.apache.struts.tiles.actions.TilesActionExceptionprotected void setupViews(javax.servlet.http.HttpServletRequest request,
IndicatorViewsForm ivf,
String key)
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-2013 Red Hat, Inc.. All Rights Reserved.