public class BooleanConfigParam extends ConfigParam
name| Constructor and Description |
|---|
BooleanConfigParam(String configName,
boolean defaultValue,
boolean mutable,
boolean forReplication)
Set a boolean parameter w/default.
|
| Modifier and Type | Method and Description |
|---|---|
void |
validateValue(String value)
Make sure that value is a valid string for booleans.
|
getDefault, getName, isForReplication, isMultiValueParam, isMutable, multiValueParamName, mvParamIndex, setForReplication, toStringpublic BooleanConfigParam(String configName, boolean defaultValue, boolean mutable, boolean forReplication)
configName - defaultValue - forReplication - true if param is for replicationpublic void validateValue(String value) throws IllegalArgumentException
validateValue in class ConfigParamIllegalArgumentException - via XxxConfig.setXxx methods and
XxxConfig(Properties) ctor.Copyright © 2024. All rights reserved.