public interface ConfigurationProperty<T> extends DescriptiveProperty<T>
DescriptiveProperty
that also provides a list of the possible values for the property as
well.Modifier and Type | Interface and Description |
---|---|
static class |
ConfigurationProperty.CustomEditorDescriptor
Configuration properties can define custom editors.
|
static class |
ConfigurationProperty.Option<T> |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<ConfigurationProperty.CustomEditorDescriptor> |
getCustomEditor()
Returns a descriptor for the custom editor used for this property.
|
java.util.Optional<java.util.List<ConfigurationProperty.Option<T>>> |
getOptions()
If this returns a non-null value then a drop-down menu of
ConfigurationProperty.Option s will be displayed to the user. |
java.util.Optional<java.lang.String> |
getValueDisplayBaseKey() |
getCategory, getDescription, getDisplayName
getDefaultValue, getName, getType
java.util.Optional<java.util.List<ConfigurationProperty.Option<T>>> getOptions()
ConfigurationProperty.Option
s will be displayed to the user.ConfigurationProperty.Option
s to display, or Optional.empty() if this property doesn't need a drop-down.java.util.Optional<ConfigurationProperty.CustomEditorDescriptor> getCustomEditor()
java.util.Optional<java.lang.String> getValueDisplayBaseKey()