public interface PropertyDefinition extends AdminObject
Modifier and Type | Interface and Description |
---|---|
static class |
PropertyDefinition.RestartType |
Modifier and Type | Field and Description |
---|---|
static int |
UNBOUNDED_VALUE
The value of the maximum multiplicity if the multiplicity is considered unbounded.
|
DELIMITER, DELIMITER_CHAR, ESCAPED_DELIMITER, ESCAPED_WILDCARD, WILDCARD
Modifier and Type | Method and Description |
---|---|
Collection |
getAllowedValues()
Get the allowed values for this property.
|
String |
getCategory()
Get the category of the property
|
Object |
getDefaultValue()
Get the default value for values of this property, or an empty String if
there is no default value.
|
String |
getDescription()
Get the description of this property.
|
String |
getDisplayName()
Get the localized display name of this property.
|
String |
getPropertyTypeClassName()
Get the name of the java class that best represents the property type.
|
PropertyDefinition.RestartType |
getRequiresRestart()
Get whether this property requires the system to be restarted before it takes effect.
|
boolean |
isAdvanced()
The "expert" flag is used to distinguish between features that are
intended for expert users from those that are intended for normal users.
|
boolean |
isConstrainedToAllowedValues()
Return whether the value or values for this property are constrained to be only
those in the AllowedValues list.
|
boolean |
isMasked()
The "masked" flag is used to tell whether the value should be masked
when displayed to users.
|
boolean |
isModifiable()
The modifiable flag is used to identify features that may not be changed once
they are set.
|
boolean |
isRequired()
The "required" flag is used to identify features that require at least
one value (possibly a default value) by the consumer of the property.
|
getName, getProperties, getPropertyValue
static final int UNBOUNDED_VALUE
String getDisplayName()
String getDescription()
String getPropertyTypeClassName()
Object getDefaultValue()
Collection getAllowedValues()
PropertyDefinition.RestartType getRequiresRestart()
boolean isModifiable()
boolean isConstrainedToAllowedValues()
getAllowedValues()
boolean isAdvanced()
boolean isRequired()
Whether a property is required by the consumer is unrelated to whether there is a default value, which only simplifies the task of the property provider. A property may be required, meaning it must have at least one value, but that same property definition may or may not have a default. The combination of required and whether it has a default will determine whether the user must supply a value.
boolean isMasked()
String getCategory()
Copyright © 2019. All rights reserved.