com.atlassian.jira.rest.v2.admin
Class ApplicationPropertiesResource
java.lang.Object
com.atlassian.jira.rest.v2.admin.ApplicationPropertiesResource
public class ApplicationPropertiesResource
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplicationPropertiesResource
public ApplicationPropertiesResource(JiraAuthenticationContext authenticationContext,
PermissionManager permissionManager,
ApplicationPropertiesService applicationPropertiesService)
getProperty
public javax.ws.rs.core.Response getProperty(String key,
String permissionLevel,
String keyFilter)
- Returns an application property.
- Parameters:
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.
- Returns:
- an application property.
setPropertyViaRestfulTable
public javax.ws.rs.core.Response setPropertyViaRestfulTable(String key,
ApplicationPropertyBean applicationPropertyBean)
- Modify an application property via PUT. The "value" field present in the PUT will override thee existing value.
setProperty
public javax.ws.rs.core.Response setProperty(String key,
String value)
Copyright © 2002-2013 Atlassian. All Rights Reserved.