com.atlassian.jira.rest.v2.admin
Class ApplicationPropertiesResource

java.lang.Object
  extended by com.atlassian.jira.rest.v2.admin.ApplicationPropertiesResource

public class ApplicationPropertiesResource
extends Object


Nested Class Summary
static class ApplicationPropertiesResource.Property
           
 
Constructor Summary
ApplicationPropertiesResource(JiraAuthenticationContext authenticationContext, PermissionManager permissionManager, ApplicationPropertiesService applicationPropertiesService)
           
 
Method Summary
 javax.ws.rs.core.Response getProperty(String key)
          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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationPropertiesResource

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

getProperty

public javax.ws.rs.core.Response getProperty(String key)
Returns an application property.

Parameters:
key - a String containing the property key
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-2012 Atlassian. All Rights Reserved.