com.sleepycat.je.config
Class BooleanConfigParam
java.lang.Object
com.sleepycat.je.config.ConfigParam
com.sleepycat.je.config.BooleanConfigParam
public class BooleanConfigParam
- extends ConfigParam
A JE configuration parameter with an boolean value.
Constructor Summary |
BooleanConfigParam(String configName,
boolean defaultValue,
boolean mutable,
String description)
Set a boolean parameter w/default. |
Method Summary |
void |
validateValue(String value)
Make sure that value is a valid string for booleans. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BooleanConfigParam
BooleanConfigParam(String configName,
boolean defaultValue,
boolean mutable,
String description)
- Set a boolean parameter w/default.
- Parameters:
configName
- defaultValue
-
validateValue
public void validateValue(String value)
throws IllegalArgumentException
- Make sure that value is a valid string for booleans.
- Overrides:
validateValue
in class ConfigParam
- Throws:
IllegalArgumentException
Copyright 2004-2005 Sleepycat, Inc. All Rights Reserved.