public class ApplicationPropertiesStore extends Object
Modifier and Type | Field and Description |
---|---|
static String |
JIRA_CONFIG_PROPERTIES |
Constructor and Description |
---|
ApplicationPropertiesStore(PropertiesManager propertiesManager,
JiraHome jiraHome) |
Modifier and Type | Method and Description |
---|---|
boolean |
existsInDb(String key) |
ApplicationProperty |
getApplicationPropertyFromKey(String key) |
Map<String,String> |
getDefaultsWithOverlays() |
List<ApplicationProperty> |
getEditableApplicationProperties(ApplicationPropertiesService.EditPermissionLevel permissionLevel,
String keyFilter) |
Collection<String> |
getKeysStoredInDb() |
Boolean |
getOption(String key) |
String |
getOverlayedString(String key) |
Map<String,Object> |
getPropertiesAsMap() |
String |
getString(String key) |
String |
getStringFromDb(String key) |
Collection<String> |
getStringsWithPrefixFromDb(String prefix) |
String |
getTextFromDb(String key) |
void |
refresh() |
void |
refreshDbProperties() |
ApplicationProperty |
setApplicationProperty(String key,
String value) |
void |
setOption(String key,
Boolean value) |
void |
setString(String key,
String value) |
void |
setText(String key,
String value) |
public static final String JIRA_CONFIG_PROPERTIES
public ApplicationPropertiesStore(PropertiesManager propertiesManager, JiraHome jiraHome)
public List<ApplicationProperty> getEditableApplicationProperties(ApplicationPropertiesService.EditPermissionLevel permissionLevel, String keyFilter)
public ApplicationProperty getApplicationPropertyFromKey(String key)
public ApplicationProperty setApplicationProperty(String key, String value)
public boolean existsInDb(String key)
public Collection<String> getKeysStoredInDb()
public void refreshDbProperties()
public void refresh()
public Collection<String> getStringsWithPrefixFromDb(String prefix)
Copyright © 2002-2015 Atlassian. All Rights Reserved.