Package liquibase.configuration
Class ConfigurationProperty
- java.lang.Object
-
- liquibase.configuration.ConfigurationProperty
-
public class ConfigurationProperty extends Object
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description ConfigurationProperty(String namespace, ConfigurationDefinition.Building definitionBuilder)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ConfigurationProperty
addAlias(String... aliases)
Deprecated.Object
getDefaultValue()
Deprecated.String
getDescription()
Deprecated.String
getName()
Deprecated.String
getNamespace()
Deprecated.Class
getType()
Deprecated.Object
getValue()
Deprecated.<T> T
getValue(Class<T> type)
Deprecated.boolean
getWasOverridden()
Deprecated.ConfigurationProperty
setDefaultValue(Object defaultValue)
Deprecated.ConfigurationProperty
setDescription(String description)
Deprecated.void
setValue(Object value)
Deprecated.ConfigurationProperty
setValueHandler(ConfigurationValueHandler handler)
Deprecated.protected Object
valueOf(Object value)
Deprecated.
-
-
-
Constructor Detail
-
ConfigurationProperty
public ConfigurationProperty(String namespace, ConfigurationDefinition.Building definitionBuilder)
Deprecated.
-
-
Method Detail
-
getName
public String getName()
Deprecated.Returns the property name.
-
getNamespace
public String getNamespace()
Deprecated.Returns the namespace used by this property'sConfigurationContainer
-
getType
public Class getType()
Deprecated.Returns the type of value stored in this property
-
valueOf
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.
-
getValue
public Object getValue()
Deprecated.Returns the value currently stored in this property without any casting.
-
getValue
public <T> T getValue(Class<T> type)
Deprecated.Returns the value currently stored in this property cast to the given type.
-
setValue
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.
-
addAlias
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.
-
getDescription
public String getDescription()
Deprecated.Returns a human-readable definition of this property
-
setDescription
public ConfigurationProperty setDescription(String description)
Deprecated.
-
getDefaultValue
public Object getDefaultValue()
Deprecated.Returns the default value to use if no ConfigurationProviders override it.
-
setDefaultValue
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.
-
getWasOverridden
public boolean getWasOverridden()
Deprecated.Returns true if the value has been set by a ConfigurationValueProvider or bysetValue(Object)
-
setValueHandler
public ConfigurationProperty setValueHandler(ConfigurationValueHandler handler)
Deprecated.
-
-