public class ApplicationPropertiesResource extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ApplicationPropertiesResource.Property |
Constructor and Description |
---|
ApplicationPropertiesResource(JiraAuthenticationContext authenticationContext,
PermissionManager permissionManager,
ApplicationPropertiesService applicationPropertiesService) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getAdvancedSettings()
Returns the properties that are displayed on the "General Configuration > Advanced Settings" page.
|
javax.ws.rs.core.Response |
getProperty(String key,
String permissionLevel,
String keyFilter)
Returns an application property.
|
javax.ws.rs.core.Response |
setProperty(String key,
String value) |
javax.ws.rs.core.Response |
setPropertyViaRestfulTable(String key,
ApplicationPropertyBean applicationPropertyBean)
Modify an application property via PUT.
|
public ApplicationPropertiesResource(JiraAuthenticationContext authenticationContext, PermissionManager permissionManager, ApplicationPropertiesService applicationPropertiesService)
public javax.ws.rs.core.Response getProperty(String key, String permissionLevel, String keyFilter)
key
- a String containing the property keypermissionLevel
- when fetching a list specifies the permission level of all items in the list
see ApplicationPropertiesService.EditPermissionLevel
keyFilter
- when fetching a list allows the list to be filtered by the property's start of key
e.g. "jira.lf.*" whould fetch only those permissions that are editable and whose keys start with
"jira.lf.". This is a regex.public javax.ws.rs.core.Response getAdvancedSettings()
public javax.ws.rs.core.Response setPropertyViaRestfulTable(String key, ApplicationPropertyBean applicationPropertyBean)
Copyright © 2002-2024 Atlassian. All Rights Reserved.