org.hyperic.util.config
Class InstallConfigOption
java.lang.Object
org.hyperic.util.config.ConfigOption
org.hyperic.util.config.InstallConfigOption
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class InstallConfigOption
- extends ConfigOption
- implements java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class org.hyperic.util.config.ConfigOption |
copy, equals, getCategory, getConfirm, getDescription, getName, hashCode, invalidOption, isOptional, setCategory, setConfirm, setDefault, setDescription, setName, setOptional, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
InstallConfigOption
public InstallConfigOption(java.lang.String optName,
java.lang.String optDesc,
ConfigOptionDisplay defValue,
ConfigOptionDisplay[] installOptionValues)
- This constructor allows you to create an InstallConfigOption
and behaves pretty much like the EnumConfigOption class, however
it deals with ConfigOptionDisplay objects rather than raw Strings.
InstallConfigOption
public InstallConfigOption(java.lang.String optName,
java.lang.String optDesc,
ConfigOptionDisplay defValue,
ConfigOptionDisplay[] installOptionValues,
java.lang.String confirm)
addValue
public void addValue(ConfigOptionDisplay option)
getValues
public java.util.List getValues()
checkOptionIsValid
public void checkOptionIsValid(java.lang.String value)
throws InvalidOptionValueException
- Specified by:
checkOptionIsValid
in class ConfigOption
- Throws:
InvalidOptionValueException
getDefault
public java.lang.String getDefault()
- Overrides:
getDefault
in class ConfigOption
clone
protected java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone
in class java.lang.Object
- Throws:
java.lang.CloneNotSupportedException
Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.