com.sleepycat.je.config
Class BooleanConfigParam

java.lang.Object
  extended by com.sleepycat.je.config.ConfigParam
      extended by com.sleepycat.je.config.BooleanConfigParam

public class BooleanConfigParam
extends ConfigParam

A JE configuration parameter with an boolean value.


Field Summary
 
Fields inherited from class com.sleepycat.je.config.ConfigParam
CONFIG_DELIM, name
 
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 com.sleepycat.je.config.ConfigParam
getDefault, getDescription, getExtraDescription, getName, isMutable, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanConfigParam

BooleanConfigParam(String configName,
                   boolean defaultValue,
                   boolean mutable,
                   String description)
Set a boolean parameter w/default.

Parameters:
configName -
defaultValue -
Method Detail

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.