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

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.apache.struts.validator.ValidatorForm
          extended by org.rhq.enterprise.gui.legacy.action.BaseValidatorForm
              extended by org.rhq.enterprise.gui.legacy.action.CalendarForm
                  extended by org.rhq.enterprise.gui.legacy.action.resource.common.monitor.visibility.MetricDisplayRangeForm
                      extended by org.rhq.enterprise.gui.legacy.action.resource.common.monitor.visibility.MetricsControlForm
                          extended by org.rhq.enterprise.gui.legacy.action.resource.common.monitor.visibility.MetricsFilterForm
                              extended by org.rhq.enterprise.gui.legacy.action.resource.common.monitor.visibility.MetricsDisplayForm
All Implemented Interfaces:
Serializable

public class MetricsDisplayForm
extends MetricsFilterForm

Represents the controls on various pages that display metrics summaries.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.rhq.enterprise.gui.legacy.action.resource.common.monitor.visibility.MetricsFilterForm
ALL_FILTERS, BITWISE_FILTERS, FILTER_AVAIL, FILTER_DYN, FILTER_PERF, FILTER_STATIC, FILTER_THRU, FILTER_TREND_DN, FILTER_TREND_UP, FILTER_UTIL
 
Fields inherited from class org.rhq.enterprise.gui.legacy.action.resource.common.monitor.visibility.MetricDisplayRangeForm
ACTION_DATE_RANGE, ACTION_LASTN
 
Fields inherited from class org.rhq.enterprise.gui.legacy.action.CalendarForm
AM, PM
 
Fields inherited from class org.apache.struts.validator.ValidatorForm
page, validatorResults
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
MetricsDisplayForm()
           
 
Method Summary
 org.apache.struts.util.ImageButtonBean getChart()
           
 org.apache.struts.util.ImageButtonBean getClear()
           
 org.apache.struts.util.ImageButtonBean getCompare()
           
 org.apache.struts.util.ImageButtonBean getCurrent()
           
 Boolean getDisplayBaseline()
           
 Boolean getDisplayHighRange()
           
 Boolean getDisplayLowRange()
           
 Boolean getH()
           
 org.apache.struts.util.ImageButtonBean getHighlight()
           
 List getHighlightThresholdMenu()
           
 Integer getHp()
           
 Integer getHt()
           
 Integer getHv()
           
 Integer[] getM()
           
 Map<Integer,org.rhq.core.domain.measurement.MeasurementDefinition> getMeasurementDefinitionList()
           
 List<org.rhq.core.domain.measurement.ui.MetricDisplaySummary> getMeasurementSummaryList()
           
 Integer[] getR()
           
 Boolean getShowBaseline()
           
 Boolean getShowMetricSource()
           
 Boolean getShowNumberCollecting()
           
 Integer getT()
           
 org.apache.struts.util.ImageButtonBean getThreshold()
           
 List getThresholdMenu()
           
 boolean isChartClicked()
           
 boolean isClearClicked()
           
 boolean isCompareClicked()
           
 boolean isCurrentClicked()
           
 boolean isHighlightClicked()
           
 boolean isThresholdClicked()
           
 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
           
 void setChart(org.apache.struts.util.ImageButtonBean b)
           
 void setClear(org.apache.struts.util.ImageButtonBean b)
           
 void setCompare(org.apache.struts.util.ImageButtonBean b)
           
 void setCurrent(org.apache.struts.util.ImageButtonBean b)
           
protected  void setDefaults()
           
 void setDisplayBaseline(Boolean displayBaseline)
          Sets the displayBaseline.
 void setDisplayHighRange(Boolean displayHighRange)
          Sets the displayHighRange.
 void setDisplayLowRange(Boolean displayLowRange)
          Sets the displayLowRange.
 void setH(Boolean b)
           
 void setHighlight(org.apache.struts.util.ImageButtonBean b)
           
 void setHp(Integer i)
           
 void setHt(Integer i)
           
 void setHv(Integer i)
           
 void setM(Integer[] metricDefinitionIds)
           
 void setMeasurementDefinitionList(Map<Integer,org.rhq.core.domain.measurement.MeasurementDefinition> measurementDefinitionList)
           
 void setMeasurementSummaryList(List<org.rhq.core.domain.measurement.ui.MetricDisplaySummary> measurementSummaryList)
           
 void setR(Integer[] resourceIds)
           
 void setShowBaseline(Boolean showBaseline)
          Sets the showBaseline.
 void setShowMetricSource(Boolean showMetricSource)
          Sets the showMetricSource.
 void setShowNumberCollecting(Boolean showNumberCollecting)
          Sets the showNumberCollecting.
 void setT(Integer i)
           
 void setThreshold(org.apache.struts.util.ImageButtonBean b)
           
 
Methods inherited from class org.rhq.enterprise.gui.legacy.action.resource.common.monitor.visibility.MetricsFilterForm
getFilter, getFilters, getFilterSubmit, getKeyword, isFilterSubmitClicked, setFilter, setFilterSubmit, setKeyword, toString
 
Methods inherited from class org.rhq.enterprise.gui.legacy.action.resource.common.monitor.visibility.MetricsControlForm
getAdvanced, getEditRange, getForwardParams, getRange, getRb, getRbDate, getRe, getReadOnly, getReDate, getRnMenu, getSimple, isAdvancedClicked, isAnythingClicked, isEditRangeClicked, isRangeClicked, isSimpleClicked, setAdvanced, setEditRange, setRange, setRb, setRe, setReadOnly, setSimple
 
Methods inherited from class org.rhq.enterprise.gui.legacy.action.resource.common.monitor.visibility.MetricDisplayRangeForm
getA, getCategory, getCtype, getGroupId, getId, getParent, getRn, getRu, getWantEndDate, isDateRangeSelected, isLastnSelected, setA, setCategory, setCtype, setGroupId, setId, setParent, setRn, setRu, shouldValidateDateRange, validate
 
Methods inherited from class org.rhq.enterprise.gui.legacy.action.CalendarForm
calcHour, getEndAmPm, getEndDate, getEndDay, getEndHour, getEndMin, getEndMonth, getEndYear, getInitStartTime, getStartAmPm, getStartDate, getStartDay, getStartHour, getStartMin, getStartMonth, getStartYear, getYearOptions, populateEndDate, populateStartDate, setEndAmPm, setEndDay, setEndHour, setEndMin, setEndMonth, setEndYear, setStartAmPm, setStartDay, setStartHour, setStartMin, setStartMonth, setStartYear, setWantEndDate, validateDateRange
 
Methods inherited from class org.rhq.enterprise.gui.legacy.action.BaseValidatorForm
getAdd, getCancel, getCreate, getDelete, getEnable, getInstall, getManualUninstall, getOk, getOkassign, getPn, getPs, getRemove, getReset, getUninventory, getUserset, isAddClicked, isCancelClicked, isCreateClicked, isDeleteClicked, isEnableClicked, isInstallClicked, isManualUninstallClicked, isOkAssignClicked, isOkClicked, isRemoveClicked, isResetClicked, isUsersetClicked, setAdd, setCancel, setCreate, setDelete, setEnable, setInstall, setOk, setOkassign, setPn, setPs, setRemove, setReset, setUninventory, setUserset, shouldValidate
 
Methods inherited from class org.apache.struts.validator.ValidatorForm
getPage, getResultValueMap, getValidationKey, getValidatorResults, setPage, setValidatorResults
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MetricsDisplayForm

public MetricsDisplayForm()
Method Detail

getMeasurementSummaryList

public List<org.rhq.core.domain.measurement.ui.MetricDisplaySummary> getMeasurementSummaryList()

setMeasurementSummaryList

public void setMeasurementSummaryList(List<org.rhq.core.domain.measurement.ui.MetricDisplaySummary> measurementSummaryList)

getMeasurementDefinitionList

public Map<Integer,org.rhq.core.domain.measurement.MeasurementDefinition> getMeasurementDefinitionList()

setMeasurementDefinitionList

public void setMeasurementDefinitionList(Map<Integer,org.rhq.core.domain.measurement.MeasurementDefinition> measurementDefinitionList)

getClear

public org.apache.struts.util.ImageButtonBean getClear()

setClear

public void setClear(org.apache.struts.util.ImageButtonBean b)

getCompare

public org.apache.struts.util.ImageButtonBean getCompare()

setCompare

public void setCompare(org.apache.struts.util.ImageButtonBean b)

getCurrent

public org.apache.struts.util.ImageButtonBean getCurrent()

setCurrent

public void setCurrent(org.apache.struts.util.ImageButtonBean b)

getChart

public org.apache.struts.util.ImageButtonBean getChart()

setChart

public void setChart(org.apache.struts.util.ImageButtonBean b)

getHighlight

public org.apache.struts.util.ImageButtonBean getHighlight()

setHighlight

public void setHighlight(org.apache.struts.util.ImageButtonBean b)

getH

public Boolean getH()

setH

public void setH(Boolean b)

getHp

public Integer getHp()

setHp

public void setHp(Integer i)

getHt

public Integer getHt()

setHt

public void setHt(Integer i)

getHv

public Integer getHv()

setHv

public void setHv(Integer i)

getM

public Integer[] getM()

setM

public void setM(Integer[] metricDefinitionIds)

getR

public Integer[] getR()

setR

public void setR(Integer[] resourceIds)

getT

public Integer getT()

setT

public void setT(Integer i)

getThreshold

public org.apache.struts.util.ImageButtonBean getThreshold()

setThreshold

public void setThreshold(org.apache.struts.util.ImageButtonBean b)

isClearClicked

public boolean isClearClicked()

isCompareClicked

public boolean isCompareClicked()

isCurrentClicked

public boolean isCurrentClicked()

isChartClicked

public boolean isChartClicked()

isHighlightClicked

public boolean isHighlightClicked()

isThresholdClicked

public boolean isThresholdClicked()

reset

public void reset(org.apache.struts.action.ActionMapping mapping,
                  javax.servlet.http.HttpServletRequest request)
Overrides:
reset in class MetricsFilterForm

getShowNumberCollecting

public Boolean getShowNumberCollecting()
Returns:
Boolean

setShowNumberCollecting

public void setShowNumberCollecting(Boolean showNumberCollecting)
Sets the showNumberCollecting.

Parameters:
showNumberCollecting - The showNumberCollecting to set

getShowBaseline

public Boolean getShowBaseline()
Returns:
Boolean

setShowBaseline

public void setShowBaseline(Boolean showBaseline)
Sets the showBaseline.

Parameters:
showBaseline - The showBaseline to set

getShowMetricSource

public Boolean getShowMetricSource()
Returns:
Boolean

setShowMetricSource

public void setShowMetricSource(Boolean showMetricSource)
Sets the showMetricSource.

Parameters:
showMetricSource - The showMetricSource to set

getDisplayBaseline

public Boolean getDisplayBaseline()
Returns:
Boolean

getDisplayHighRange

public Boolean getDisplayHighRange()
Returns:
Boolean

getDisplayLowRange

public Boolean getDisplayLowRange()
Returns:
Boolean

setDisplayBaseline

public void setDisplayBaseline(Boolean displayBaseline)
Sets the displayBaseline.

Parameters:
displayBaseline - The displayBaseline to set

setDisplayHighRange

public void setDisplayHighRange(Boolean displayHighRange)
Sets the displayHighRange.

Parameters:
displayHighRange - The displayHighRange to set

setDisplayLowRange

public void setDisplayLowRange(Boolean displayLowRange)
Sets the displayLowRange.

Parameters:
displayLowRange - The displayLowRange to set

getThresholdMenu

public List getThresholdMenu()

getHighlightThresholdMenu

public List getHighlightThresholdMenu()

setDefaults

protected void setDefaults()
Overrides:
setDefaults in class MetricsFilterForm


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