Top Fields Constructors Methods
liquibase.configuration

public Class ConfigurationProperty

extends Object
Class Inheritance
Imports
liquibase.configuration.core.DeprecatedConfigurationValueProvider, liquibase.exception.UnexpectedLiquibaseException, liquibase.util.StringUtil, java.math.BigDecimal, java.util.List

Deprecated

Field Summary

Modifier and TypeField and Description
private ConfigurationDefinition<DataType>
private final ConfigurationDefinition.Building<DataType>
private final String

Constructor Summary

AccessConstructor and Description
public
ConfigurationProperty(String namespace, ConfigurationDefinition.Building<DataType> definitionBuilder)

Method Summary

Modifier and TypeMethod and Description
public ConfigurationProperty
addAlias(String... aliases)
Deprecated

Adds an alias for this property.

public Object
getDefaultValue()
Deprecated

Returns the default value to use if no ConfigurationProviders override it.

public String
getDescription()
Deprecated

Returns a human-readable definition of this property

public String
getName()
Deprecated

Returns the property name.

public String
getNamespace()
Deprecated

Returns the namespace used by this property's ConfigurationContainer

public Class<T>
getType()
Deprecated

Returns the type of value stored in this property

public Object
getValue()
Deprecated

Returns the value currently stored in this property without any casting.

public <T> T
getValue(Class<T> type)
Deprecated

Returns the value currently stored in this property cast to the given type.

public boolean
getWasOverridden()
Deprecated

Returns true if the value has been set by a ConfigurationValueProvider or by setValue(Object)

public ConfigurationProperty
setDefaultValue(Object defaultValue)
Deprecated

Sets the default value to use if no ConfigurationProviders override it.

public ConfigurationProperty
setDescription(String description)
Deprecated

public void
setValue(Object value)
Deprecated

Overwrites the value currently stored in this property.

public ConfigurationProperty
protected Object
valueOf(Object value)
Deprecated

Converts an object of a different type to the type used by this property.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

definitionback to summary
private ConfigurationDefinition<DataType> definition
definitionBuilderback to summary
private final ConfigurationDefinition.Building<DataType> definitionBuilder
namespaceback to summary
private final String namespace

Constructor Detail

ConfigurationPropertyback to summary
public ConfigurationProperty(String namespace, ConfigurationDefinition.Building<DataType> definitionBuilder)

Method Detail

addAliasback to summary
public ConfigurationProperty addAlias(String... aliases)

Deprecated

Adds an alias for this property. An alias is an alternate to the "name" field that can be used by the ConfigurationProvers to look up starting values.

getDefaultValueback to summary
public Object getDefaultValue()

Deprecated

Returns the default value to use if no ConfigurationProviders override it.

getDescriptionback to summary
public String getDescription()

Deprecated

Returns a human-readable definition of this property

getNameback to summary
public String getName()

Deprecated

Returns the property name.

getNamespaceback to summary
public String getNamespace()

Deprecated

Returns the namespace used by this property's ConfigurationContainer

getTypeback to summary
public Class<T> getType()

Deprecated

Returns the type of value stored in this property

getValueback to summary
public Object getValue()

Deprecated

Returns the value currently stored in this property without any casting.

getValueback to summary
public <T> T getValue(Class<T> type)

Deprecated

Returns the value currently stored in this property cast to the given type.

getWasOverriddenback to summary
public boolean getWasOverridden()

Deprecated

Returns true if the value has been set by a ConfigurationValueProvider or by setValue(Object)

setDefaultValueback to summary
public ConfigurationProperty setDefaultValue(Object defaultValue)

Deprecated

Sets the default value to use if no ConfigurationProviders override it. Throws an exception if the given object is not compatible with the defined type.

setDescriptionback to summary
public ConfigurationProperty setDescription(String description)

Deprecated

setValueback to summary
public void setValue(Object value)

Deprecated

Overwrites the value currently stored in this property. It he passed type is not compatible with the defined type, an exception is thrown.

setValueHandlerback to summary
public ConfigurationProperty setValueHandler(ConfigurationValueHandler handler)

Deprecated

valueOfback to summary
protected Object valueOf(Object value)

Deprecated

Converts an object of a different type to the type used by this property. If types are not convertible, an exception is thrown.