Package com.exasol.adapter.properties
Class BooleanProperty
- java.lang.Object
-
- com.exasol.adapter.properties.BooleanProperty
-
- All Implemented Interfaces:
PropertyValidator.PropertyValueValidator
public class BooleanProperty extends Object implements PropertyValidator.PropertyValueValidator
This class validates boolean adapter properties.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate(String propertyValue)static PropertyValidatorvalidator(String propertyName)
-
-
-
Method Detail
-
validator
public static PropertyValidator validator(String propertyName)
- Parameters:
propertyName- name of the property- Returns:
- new instance of
BooleanPropertyfor validation of the specified boolean adapter property
-
validate
public void validate(String propertyValue) throws PropertyValidationException
- Specified by:
validatein interfacePropertyValidator.PropertyValueValidator- Parameters:
propertyValue- value of the property- Throws:
PropertyValidationException- if validation fails
-
-