org.hyperic.util.config
Class ArrayConfigOption
java.lang.Object
org.hyperic.util.config.ConfigOption
org.hyperic.util.config.ArrayConfigOption
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
- Direct Known Subclasses:
- DirArrayConfigOption, RegexArrayConfigOption, StringArrayConfigOption
public abstract class ArrayConfigOption
- extends ConfigOption
- implements java.io.Serializable
A class that provides multi-valued config options.
- See Also:
- Serialized Form
Constructor Summary |
ArrayConfigOption(java.lang.String optName,
java.lang.String optDesc,
java.lang.String defValue,
char delim)
Create a new ArrayConfigOption |
Methods inherited from class org.hyperic.util.config.ConfigOption |
checkOptionIsValid, 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 |
ArrayConfigOption
public ArrayConfigOption(java.lang.String optName,
java.lang.String optDesc,
java.lang.String defValue,
char delim)
- Create a new ArrayConfigOption
- Parameters:
optName
- The name of the option.optDesc
- The description of the option.defValue
- The default value of the option.delim
- The character to use to delimit each entry
in the array when rendering or interpreting it as a single String
setDelim
public void setDelim(char delim)
- Option properties
getDelim
public char getDelim()
Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.