Package com.atlassian.configurable
Interface ObjectConfigurationProperty
- All Superinterfaces:
- Map
- All Known Implementing Classes:
- ObjectConfigurationPropertyImpl,- ValuesGeneratorObjectConfigurationProperty,- XMLValuesObjectConfigurationProperty
This interface is a property of an Object Configuration and contains a name, description, default value and the type
 (ObjectConfigurationTypes) of this property. It can also contain a list of values if the type has values specified
 for it e.g. select list.
- 
Nested Class Summary
- 
Method SummaryModifier and TypeMethodDescriptionRetreives the default value of this Property e.g.Retrieves the description of this Property e.g.getName()Retrieves the name of this Property e.g.intgetType()Retrieves the type of the Property e.g.Retrieves the name of the type of the property, e.g.voidInitialises the object so it can retrieve values dependant on the parameters in the MapbooleanWhether the property is enabled in the current context.booleanvoidsetCascadeFrom(String cascadeFrom) voidsetI18nValues(boolean i18nValues) Methods inherited from interface java.util.Mapclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
- 
Method Details- 
initInitialises the object so it can retrieve values dependant on the parameters in the Map- Parameters:
- params-
 
- 
getNameString getName()Retrieves the name of this Property e.g. City- Returns:
- Name of this Property
 
- 
getDescriptionString getDescription()Retrieves the description of this Property e.g. Please enter you current location- Returns:
- Description of the Property
 
- 
getDefaultString getDefault()Retreives the default value of this Property e.g. Sydney- Returns:
- Default value of Property
 
- 
getTypeint getType()Retrieves the type of the Property e.g. Text- Returns:
- Type of property from ObjectConfigurationTypes
 
- 
getTypeNameString getTypeName()Retrieves the name of the type of the property, e.g. 'text'- Returns:
- Type name of the property.
- Since:
- v7.2.0
 
- 
isI18nValuesboolean isI18nValues()
- 
setI18nValuesvoid setI18nValues(boolean i18nValues) 
- 
getCascadeFromString getCascadeFrom()
- 
setCascadeFrom
- 
isEnabledboolean isEnabled()Whether the property is enabled in the current context. It is up to the implementation to divine the context.- Returns:
- true only if the property is enabled.
- Since:
- 28 Aug 2007 for JIRA v3.11
 
 
-