Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.util.config
Class IntegerConfigOption

java.lang.Object
  extended by org.hyperic.util.config.ConfigOption
      extended by org.hyperic.util.config.IntegerConfigOption
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
PortConfigOption

public class IntegerConfigOption
extends ConfigOption
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
IntegerConfigOption(java.lang.String optName, java.lang.String optDesc, java.lang.Integer defValue)
           
 
Method Summary
 void checkOptionIsValid(java.lang.String value)
           
 int getMaxValue()
           
 int getMinValue()
           
 void setMaxValue(int len)
           
 void setMinValue(int len)
          Option properties
 
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
 

Constructor Detail

IntegerConfigOption

public IntegerConfigOption(java.lang.String optName,
                           java.lang.String optDesc,
                           java.lang.Integer defValue)
Method Detail

checkOptionIsValid

public void checkOptionIsValid(java.lang.String value)
                        throws InvalidOptionValueException
Specified by:
checkOptionIsValid in class ConfigOption
Throws:
InvalidOptionValueException

setMinValue

public void setMinValue(int len)
Option properties


getMinValue

public int getMinValue()

setMaxValue

public void setMaxValue(int len)

getMaxValue

public int getMaxValue()

Hyperic HQ Plugin API v. 4.4.0.2

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.