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 Summary
Modifier 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.int
getType()
Retrieves the type of the Property e.g.Retrieves the name of the type of the property, e.g.void
Initialises the object so it can retrieve values dependant on the parameters in the Mapboolean
Whether the property is enabled in the current context.boolean
void
setCascadeFrom
(String cascadeFrom) void
setI18nValues
(boolean i18nValues) Methods inherited from interface java.util.Map
clear, 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
-
init
Initialises the object so it can retrieve values dependant on the parameters in the Map- Parameters:
params
-
-
getName
String getName()Retrieves the name of this Property e.g. City- Returns:
- Name of this Property
-
getDescription
String getDescription()Retrieves the description of this Property e.g. Please enter you current location- Returns:
- Description of the Property
-
getDefault
String getDefault()Retreives the default value of this Property e.g. Sydney- Returns:
- Default value of Property
-
getType
int getType()Retrieves the type of the Property e.g. Text- Returns:
- Type of property from
ObjectConfigurationTypes
-
getTypeName
String getTypeName()Retrieves the name of the type of the property, e.g. 'text'- Returns:
- Type name of the property.
- Since:
- v7.2.0
-
isI18nValues
boolean isI18nValues() -
setI18nValues
void setI18nValues(boolean i18nValues) -
getCascadeFrom
String getCascadeFrom() -
setCascadeFrom
-
isEnabled
boolean 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
-