public class

ApplicationPropertiesResource

extends Object
java.lang.Object
   ↳ com.atlassian.jira.rest.v2.admin.ApplicationPropertiesResource

Summary

Nested Classes
class ApplicationPropertiesResource.Property  
Public Constructors
ApplicationPropertiesResource(JiraAuthenticationContext authenticationContext, PermissionManager permissionManager, ApplicationPropertiesService applicationPropertiesService)
Public Methods
Response getProperty(String key, String permissionLevel, String keyFilter)
Returns an application property.
Response setProperty(String key, String value)
Response setPropertyViaRestfulTable(String key, ApplicationPropertyBean applicationPropertyBean)
Modify an application property via PUT.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ApplicationPropertiesResource (JiraAuthenticationContext authenticationContext, PermissionManager permissionManager, ApplicationPropertiesService applicationPropertiesService)

Public Methods

public Response getProperty (String key, String permissionLevel, String keyFilter)

Returns an application property.

Parameters
key a String containing the property key
permissionLevel 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.
Returns
  • an application property.

public Response setProperty (String key, String value)

public Response setPropertyViaRestfulTable (String key, ApplicationPropertyBean applicationPropertyBean)

Modify an application property via PUT. The "value" field present in the PUT will override thee existing value.