public interface ConfigurationValueConverter<DataType>
ConfigurationDefinition.getCurrentConfiguredValue()
to translate whatever object type a ConfigurationValueProvider
is returning
into the object type the definition uses.Modifier and Type | Field and Description |
---|---|
static ConfigurationValueConverter<Level> |
LOG_LEVEL
Standard value -> java.util.logging.Level converter
|
Modifier and Type | Method and Description |
---|---|
DataType |
convert(Object value)
Converts an arbitrary object into the correct type.
|
static final ConfigurationValueConverter<Level> LOG_LEVEL
DataType convert(Object value) throws IllegalArgumentException
IllegalArgumentException
- if the value cannot be parsed or is an invalid value.Copyright © 2022 Liquibase.org. All rights reserved.