com.sleepycat.je.config
Class ConfigParam
java.lang.Object
com.sleepycat.je.config.ConfigParam
- Direct Known Subclasses:
- BooleanConfigParam, IntConfigParam, LongConfigParam, ShortConfigParam
- public class ConfigParam
- extends Object
A ConfigParam embodies the metatdata about a JE configuration parameter:
the parameter name, default value, and a validation method.
Validation can be done in the scope of this parameter, or as a function of
other parameters.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONFIG_DELIM
public static final String CONFIG_DELIM
- See Also:
- Constant Field Values
name
String name
ConfigParam
ConfigParam(String configName,
String configDefault,
boolean mutable,
String description)
throws IllegalArgumentException
getName
public String getName()
getDescription
public String getDescription()
getExtraDescription
public String getExtraDescription()
getDefault
public String getDefault()
isMutable
public boolean isMutable()
validate
public void validate()
throws IllegalArgumentException
- Validate yourself.
- Throws:
IllegalArgumentException
validateValue
public void validateValue(String value)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
Copyright 2004-2005 Sleepycat, Inc. All Rights Reserved.