org.hyperic.util.config
Class LongConfigOption
java.lang.Object
org.hyperic.util.config.ConfigOption
org.hyperic.util.config.LongConfigOption
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class LongConfigOption
- extends ConfigOption
- implements java.io.Serializable
- See Also:
- Serialized Form
Constructor Summary |
LongConfigOption(java.lang.String optName,
java.lang.String optDesc,
java.lang.Long defValue)
|
Methods inherited from class org.hyperic.util.config.ConfigOption |
copy, equals, getCategory, getConfirm, getDefault, getDescription, getName, hashCode, invalidOption, isOptional, setCategory, setConfirm, setDefault, setDescription, setName, setOptional, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
LongConfigOption
public LongConfigOption(java.lang.String optName,
java.lang.String optDesc,
java.lang.Long defValue)
checkOptionIsValid
public void checkOptionIsValid(java.lang.String value)
throws InvalidOptionValueException
- Specified by:
checkOptionIsValid
in class ConfigOption
- Throws:
InvalidOptionValueException
setMinValue
public void setMinValue(long len)
- Option properties
getMinValue
public long getMinValue()
setMaxValue
public void setMaxValue(long len)
getMaxValue
public long getMaxValue()
Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.