Deprecated
| Modifier and Type | Field and Description |
|---|---|
| private ConfigurationDefinition | |
| private final ConfigurationDefinition. | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | ConfigurationProperty(String namespace, ConfigurationDefinition.
|
| Modifier and Type | Method and Description |
|---|---|
| public ConfigurationProperty | |
| public Object | getDefaultValue()
Deprecated
Returns the default value to use if no ConfigurationProviders override it. |
| public String | |
| public String | |
| public String | |
| public Class | |
| public Object | |
| public <T> T | |
| public boolean | getWasOverridden()
Deprecated
Returns true if the value has been set by a ConfigurationValueProvider or by |
| public ConfigurationProperty | setDefaultValue(Object defaultValue)
Deprecated
Sets the default value to use if no ConfigurationProviders override it. |
| public ConfigurationProperty | |
| public void | |
| public ConfigurationProperty | |
| protected Object |
| definition | back to summary |
|---|---|
| private ConfigurationDefinition<DataType> definition | |
| definitionBuilder | back to summary |
|---|---|
| private final ConfigurationDefinition. | |
| namespace | back to summary |
|---|---|
| private final String namespace | |
| ConfigurationProperty | back to summary |
|---|---|
| public ConfigurationProperty(String namespace, ConfigurationDefinition. | |
| addAlias | back 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. | |
| getDefaultValue | back to summary |
|---|---|
| public Object getDefaultValue()
Deprecated
Returns the default value to use if no ConfigurationProviders override it. | |
| getDescription | back to summary |
|---|---|
| public String getDescription()
Deprecated
Returns a human-readable definition of this property | |
| getName | back to summary |
|---|---|
| public String getName()
Deprecated
Returns the property name. | |
| getNamespace | back to summary |
|---|---|
| public String getNamespace()
Deprecated
Returns the namespace used by this property's | |
| getType | back to summary |
|---|---|
| public Class Deprecated
Returns the type of value stored in this property | |
| getValue | back to summary |
|---|---|
| public Object getValue()
Deprecated
Returns the value currently stored in this property without any casting. | |
| getValue | back to summary |
|---|---|
| public <T> T getValue(Class<T> type)
Deprecated
Returns the value currently stored in this property cast to the given type. | |
| getWasOverridden | back to summary |
|---|---|
| public boolean getWasOverridden()
Deprecated
Returns true if the value has been set by a ConfigurationValueProvider or by | |
| setDefaultValue | back 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. | |
| setDescription | back to summary |
|---|---|
| public ConfigurationProperty setDescription(String description)
Deprecated
| |
| setValue | back 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. | |
| setValueHandler | back to summary |
|---|---|
| public ConfigurationProperty setValueHandler(ConfigurationValueHandler handler)
Deprecated
| |
| valueOf | back 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. | |