|
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.ActionForm
org.apache.struts.validator.ValidatorForm
org.hyperic.hq.ui.action.BaseValidatorForm
org.hyperic.hq.ui.action.CalendarForm
org.hyperic.hq.ui.action.ScheduleForm
org.hyperic.hq.ui.action.resource.ResourceForm
org.hyperic.hq.ui.action.resource.platform.autodiscovery.PlatformAutoDiscoveryForm
public class PlatformAutoDiscoveryForm
Field Summary |
---|
Fields inherited from class org.hyperic.hq.ui.action.ScheduleForm |
---|
END_NEVER, END_ON_DATE, EVERY_DAY, EVERY_WEEKDAY, ON_DAY, ON_EACH, RECUR_DAILY, RECUR_MONTHLY, RECUR_NEVER, RECUR_WEEKLY, START_NOW, START_ON_DATE |
Fields inherited from class org.hyperic.hq.ui.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 | |
---|---|
PlatformAutoDiscoveryForm()
|
Method Summary | |
---|---|
void |
buildConfigOptions(ConfigSchema schema,
ConfigResponse resp)
|
void |
checkServerTypes(java.util.List sTypes1)
select all the server types for creating new auto-discovery |
static AppdefResourceTypeValue |
findResourceTypeValue(ServerTypeValue[] serverTypeVals,
java.lang.Integer id)
find a ServerTypeValue object from a list of serverTypeVals. |
java.util.List |
getConfigOptions()
|
java.lang.Integer |
getConfigOptionsCount()
|
java.lang.String |
getDescription()
Returns the description. |
protected java.util.Calendar |
getInitStartTime()
|
java.lang.String |
getName()
Returns the name. |
java.lang.String |
getScanMethod()
|
org.apache.struts.util.ImageButtonBean |
getScheduleTypeChange()
|
java.lang.Integer[] |
getSelectedServerTypeIds()
|
java.util.List |
getSelectedServerTypes(ServerTypeValue[] serverTypeVals)
build a list of ServerTypeValue objects from a list of ids selected in the form |
java.lang.Integer[] |
getServerTypeId()
|
java.util.Collection |
getServerTypes()
|
java.util.ArrayList |
getServerTypesLB()
|
boolean |
isScheduleTypeChgSelected()
|
void |
setDescription(java.lang.String desc)
Sets the description. |
void |
setName(java.lang.String name)
sets the name. |
void |
setScanMethod(java.lang.String name)
|
void |
setScheduleTypeChange(org.apache.struts.util.ImageButtonBean bean)
|
void |
setSelectedServerTypeIds(java.lang.Integer[] selectedServerTypes)
|
void |
setServerTypeId(java.lang.Integer[] serverTypeId)
|
void |
setServerTypes(AppdefResourceTypeValue[] serverTypes)
build up a list of label beans of serverType.names as label and server type id as value |
void |
setServerTypesLB(java.util.ArrayList serverTypesLB)
|
org.apache.struts.action.ActionErrors |
validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
This validate method tries to over-ride the validate method. |
Methods inherited from class org.hyperic.hq.ui.action.resource.ResourceForm |
---|
getAetid, getEid, getLocation, getResourceType, getResourceTypes, getRid, getType, isCanModify, loadResourceValue, reset, setAetid, setCanModify, setEid, setLocation, setResourceType, setResourceTypes, setRid, setType, toString, updateResourceValue |
Methods inherited from class org.hyperic.hq.ui.action.CalendarForm |
---|
calcHour, getEndAmPm, getEndDate, getEndDay, getEndHour, getEndMin, getEndMonth, getEndYear, getStartAmPm, getStartDate, getStartDay, getStartHour, getStartMin, getStartMonth, getStartYear, getWantEndDate, getYearOptions, populateEndDate, populateStartDate, setEndAmPm, setEndDay, setEndHour, setEndMin, setEndMonth, setEndYear, setStartAmPm, setStartDay, setStartHour, setStartMin, setStartMonth, setStartYear, setWantEndDate, shouldValidateDateRange, validateDateRange |
Methods inherited from class org.hyperic.hq.ui.action.BaseValidatorForm |
---|
getAdd, getCancel, getCreate, getDelete, getEnable, getOk, getOkassign, getPn, getPs, getRemove, getReset, getUserset, isAddClicked, isCancelClicked, isCreateClicked, isDeleteClicked, isEnableClicked, isOkAssignClicked, isOkClicked, isRemoveClicked, isResetClicked, isUsersetClicked, setAdd, setCancel, setCreate, setDelete, setEnable, setOk, setOkassign, setPn, setPs, setRemove, setReset, 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 |
---|
public PlatformAutoDiscoveryForm()
Method Detail |
---|
public java.lang.String getName()
ResourceForm
getName
in class ResourceForm
public void setName(java.lang.String name)
ResourceForm
setName
in class ResourceForm
public java.lang.String getDescription()
ResourceForm
getDescription
in class ResourceForm
public void setDescription(java.lang.String desc)
ResourceForm
setDescription
in class ResourceForm
desc
- The description to setpublic java.lang.Integer[] getSelectedServerTypeIds()
public void setSelectedServerTypeIds(java.lang.Integer[] selectedServerTypes)
public boolean isScheduleTypeChgSelected()
public java.util.Collection getServerTypes()
public void setServerTypes(AppdefResourceTypeValue[] serverTypes)
protected java.util.Calendar getInitStartTime()
getInitStartTime
in class CalendarForm
public java.util.List getSelectedServerTypes(ServerTypeValue[] serverTypeVals)
public static AppdefResourceTypeValue findResourceTypeValue(ServerTypeValue[] serverTypeVals, java.lang.Integer id)
public void checkServerTypes(java.util.List sTypes1)
public java.lang.Integer[] getServerTypeId()
public void setServerTypeId(java.lang.Integer[] serverTypeId)
public java.util.ArrayList getServerTypesLB()
public void setServerTypesLB(java.util.ArrayList serverTypesLB)
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
validate
in class ResourceForm
public java.util.List getConfigOptions()
public java.lang.Integer getConfigOptionsCount()
public void buildConfigOptions(ConfigSchema schema, ConfigResponse resp)
public java.lang.String getScanMethod()
public void setScanMethod(java.lang.String name)
public org.apache.struts.util.ImageButtonBean getScheduleTypeChange()
public void setScheduleTypeChange(org.apache.struts.util.ImageButtonBean bean)
|
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 |