org.rhq.enterprise.gui.legacy.action.resource.common.monitor.visibility
Class CompareMetricsForm
java.lang.Object
org.apache.struts.action.ActionForm
org.apache.struts.validator.ValidatorForm
org.rhq.enterprise.gui.legacy.action.BaseValidatorForm
org.rhq.enterprise.gui.legacy.action.CalendarForm
org.rhq.enterprise.gui.legacy.action.resource.common.monitor.visibility.MetricDisplayRangeForm
org.rhq.enterprise.gui.legacy.action.resource.common.monitor.visibility.MetricsControlForm
org.rhq.enterprise.gui.legacy.action.resource.common.monitor.visibility.CompareMetricsForm
- All Implemented Interfaces:
- Serializable
public class CompareMetricsForm
- extends MetricsControlForm
Implementation notes: Rather than force a boss lookup just to find a name to display for the link back, (I mean,
c'mon) it'll be stuffed into the request
- See Also:
- Serialized Form
|
Field Summary |
Integer[] |
childResourceIds
|
Map |
metrics
keys are MeasurementTemplateValue's values are List's of MetricDisplaySummary's for each resource - the list
length will not always be the same, in fact they'll only be the same if each of the resources has all of the same
metrics configured |
Integer[] |
mtids
|
| 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 |
| 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, toString |
| 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 |
mtids
public Integer[] mtids
childResourceIds
public Integer[] childResourceIds
metrics
public Map metrics
- keys are MeasurementTemplateValue's values are List's of MetricDisplaySummary's for each resource - the list
length will not always be the same, in fact they'll only be the same if each of the resources has all of the same
metrics configured
CompareMetricsForm
public CompareMetricsForm()
getMetrics
public Map getMetrics()
- Returns:
getMtids
public Integer[] getMtids()
- Returns:
getR
public Integer[] getR()
- An alias for getChildResourceIds()
- Returns:
getChildResourceIds
public Integer[] getChildResourceIds()
- Returns:
setMetrics
public void setMetrics(Map map)
- Parameters:
map -
setMtids
public void setMtids(Integer[] integers)
- Parameters:
integers -
setR
public void setR(Integer[] childResourceIds)
- Parameters:
integers -
setChildResourceIds
public void setChildResourceIds(Integer[] childResourceIds)
- Parameters:
integers -
getName
public String getName()
- Returns:
- String
setName
public void setName(String name)
- Sets the name.
- Parameters:
name - The name to set
getBack
public org.apache.struts.util.ImageButtonBean getBack()
setBack
public void setBack(org.apache.struts.util.ImageButtonBean b)
isBackClicked
public boolean isBackClicked()
reset
public void reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
- Overrides:
reset in class MetricsControlForm
setDefaults
protected void setDefaults()
- Overrides:
setDefaults in class MetricsControlForm
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.