|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts.action.Action
org.apache.struts.tiles.actions.TilesAction
org.hyperic.hq.ui.action.resource.common.monitor.visibility.MetricsControlFormPrepareAction
org.hyperic.hq.ui.action.resource.common.monitor.visibility.MetricsDisplayFormPrepareAction
public abstract class MetricsDisplayFormPrepareAction
An Action
that retrieves data from the BizApp to
facilitate display of the various pages that provide metrics
summaries.
Field Summary | |
---|---|
protected static org.apache.commons.logging.Log |
log
|
Fields inherited from class org.apache.struts.action.Action |
---|
servlet |
Constructor Summary | |
---|---|
MetricsDisplayFormPrepareAction()
|
Method Summary | |
---|---|
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)
|
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,
java.lang.Long begin,
java.lang.Long end)
Retrieve data needed to display a Metrics Display Form. |
protected java.util.Map |
getMetrics(javax.servlet.http.HttpServletRequest request,
AppdefEntityID[] entityIds,
long filters,
java.lang.String keyword,
java.lang.Long begin,
java.lang.Long end,
boolean showAll)
Get from the Bizapp the set of metric summaries for the specified entities that will be displayed on the page. |
protected abstract java.util.Map |
getMetrics(javax.servlet.http.HttpServletRequest request,
AppdefEntityID entityId,
long filters,
java.lang.String keyword,
java.lang.Long begin,
java.lang.Long end,
boolean showAll)
Get from the Bizapp the set of metric summaries for the specified entity that will be displayed on the page. |
protected java.lang.Boolean |
getShowBaseline()
Do we show the baseline column on this page? The default answer is no, but subclasses can specify otherwise. |
protected java.lang.Boolean |
getShowMetricSource()
Do we show the metric source column on this page? The default answer is no, but subclasses can specify otherwise. |
protected java.lang.Boolean |
getShowNumberCollecting()
Do we show the number collecting column on this page? The default answer is no, but subclasses can specify otherwise. |
Methods inherited from class org.hyperic.hq.ui.action.resource.common.monitor.visibility.MetricsControlFormPrepareAction |
---|
prepareForm, 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, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, 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 |
---|
protected static org.apache.commons.logging.Log log
Constructor Detail |
---|
public MetricsDisplayFormPrepareAction()
Method Detail |
---|
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, java.lang.Long begin, java.lang.Long end) throws java.lang.Exception
java.lang.Exception
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 java.lang.Exception
execute
in class MetricsControlFormPrepareAction
java.lang.Exception
protected java.lang.Boolean getShowNumberCollecting()
protected java.lang.Boolean getShowBaseline()
protected java.lang.Boolean getShowMetricSource()
protected abstract java.util.Map getMetrics(javax.servlet.http.HttpServletRequest request, AppdefEntityID entityId, long filters, java.lang.String keyword, java.lang.Long begin, java.lang.Long end, boolean showAll) throws java.lang.Exception
Map
keyed by metric category.
request
- the http requestentityId
- the entity id of the currently viewed resourcebegin
- the time (in milliseconds since the epoch) that
begins the timeframe for which the metrics are summarizedend
- the time (in milliseconds since the epoch) that
ends the timeframe for which the metrics are summarized
java.lang.Exception
protected java.util.Map getMetrics(javax.servlet.http.HttpServletRequest request, AppdefEntityID[] entityIds, long filters, java.lang.String keyword, java.lang.Long begin, java.lang.Long end, boolean showAll) throws java.lang.Exception
Map
keyed by metric category.
request
- the http requestentityId
- the entity id of the currently viewed resourcebegin
- the time (in milliseconds since the epoch) that
begins the timeframe for which the metrics are summarizedend
- the time (in milliseconds since the epoch) that
ends the timeframe for which the metrics are summarized
java.lang.Exception
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |