@OpenApi public abstract class AbstractPropertyOptionsGroup extends OptionsGroup
EnvironmentOptions,
OptionsGroup| Constructor and Description |
|---|
AbstractPropertyOptionsGroup(PropertyManager propertyManager)
Constructs property options group.
|
AbstractPropertyOptionsGroup(java.lang.String id)
Constructs property options group.
|
AbstractPropertyOptionsGroup(java.lang.String id,
PropertyManager propertyManager,
boolean visible)
Constructs property options group.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addInvisibleProperty(Property property)
Adds a property which is invisible to the user.
|
void |
addProperty(Property property)
Adds property to this group.
|
void |
addProperty(Property property,
boolean generateDescription)
Adds property to this group.
|
void |
addProperty(Property property,
java.lang.String descriptionID)
Adds property with given descriptionID.
|
PropertyManager |
getOptions()
Gets properties managed by options.
|
Property |
getProperty(java.lang.String name)
Gets property by name.
|
PropertyManager |
getVisibleOptions()
Gets properties which are visible to the user.
|
void |
removeProperty(java.lang.String name)
Removes a property by name.
|
void |
setDefaultValues()
Sets default values for the properties contained in this group.
|
protected void |
setOptions(PropertyManager propertyManager)
Sets properties for options.
|
void |
setPropertiesInvisible(java.lang.String[] ids,
boolean invisible)
Sets visibility flag for an array of properties.
|
void |
setPropertyInvisible(java.lang.String id,
boolean invisible)
Changes visibility flag to the property.
|
getGroupIcon, getIcon, getName@OpenApi
public AbstractPropertyOptionsGroup(java.lang.String id,
@CheckForNull
PropertyManager propertyManager,
boolean visible)
id - id of the group.propertyManager - property options managed by this group.visible - indicates if group is visible to the user.@OpenApi public AbstractPropertyOptionsGroup(PropertyManager propertyManager)
propertyManager - property options managed by this group.@OpenApi public AbstractPropertyOptionsGroup(java.lang.String id)
id - id of the group.@OpenApi public void setDefaultValues()
@OpenApi public PropertyManager getOptions()
@OpenApi public PropertyManager getVisibleOptions()
@OpenApi protected void setOptions(PropertyManager propertyManager)
propertyManager - property manager to set.@CheckForNull @OpenApi public Property getProperty(java.lang.String name)
name - name of the property.@OpenApi public void addProperty(Property property)
addProperty(Property, String) method.property - property to be added.@OpenApi public void addProperty(Property property, boolean generateDescription)
addProperty(Property, String) methodproperty - property to add.generateDescription - true if description for property must be generated. Otherwise description ID will be reset.@OpenApi public void addProperty(Property property, java.lang.String descriptionID)
property - property to be added.descriptionID - descriptionID for property.@OpenApi public void addInvisibleProperty(Property property)
property - property to add.@OpenApi public void removeProperty(java.lang.String name)
name - name by which to remove the property.@OpenApi
public void setPropertyInvisible(java.lang.String id,
boolean invisible)
id - id of the property for which to change visibility.invisible - visibility flag value.@OpenApi
public void setPropertiesInvisible(java.lang.String[] ids,
boolean invisible)
ids - ids of properties for which to change visibility flag.invisible - visibility flag value.