Class ApplicationPropertiesStore
java.lang.Object
com.atlassian.jira.config.properties.ApplicationPropertiesStore
This class is responsible for loading jira's configuration properties.
- Since:
- v4.4
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionApplicationPropertiesStore
(BackingPropertySetManager propertySetManager, JiraHome jiraHome) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getEditableApplicationProperties
(ApplicationPropertiesService.EditPermissionLevel permissionLevel, String keyFilter) boolean
getOverlayedString
(String key) getStringFromDb
(String key) Returns the value of the given key from the database.getStringsWithPrefixFromDb
(String prefix) getTextFromDb
(String key) void
refresh()
void
setApplicationProperty
(String key, String value) void
void
void
-
Field Details
-
JIRA_CONFIG_PROPERTIES
- See Also:
-
-
Constructor Details
-
ApplicationPropertiesStore
-
-
Method Details
-
exists
-
getEditableApplicationProperties
public List<ApplicationProperty> getEditableApplicationProperties(ApplicationPropertiesService.EditPermissionLevel permissionLevel, String keyFilter) -
getEditableAdvancedProperties
public List<ApplicationProperty> getEditableAdvancedProperties(ApplicationPropertiesService.EditPermissionLevel permissionLevel) -
getOption
-
getApplicationPropertyFromKey
-
setApplicationProperty
-
setString
-
setOption
-
getTextFromDb
-
setText
-
getStringFromDb
Returns the value of the given key from the database.- Parameters:
key
- the key to retrieve- Returns:
- the value of the key (may be null) or an empty String if the underlying implementation throws a
InvalidPropertyTypeException
-
getKeysStoredInDb
-
getPropertiesAsMap
-
refreshDbProperties
public void refreshDbProperties() -
refresh
public void refresh() -
getDefaultsWithOverlays
-
getStringsWithPrefixFromDb
-
getString
-
getOverlayedString
-