com.atlassian.jira.bc.admin
Class ApplicationPropertiesServiceImpl
java.lang.Object
com.atlassian.jira.bc.admin.ApplicationPropertiesServiceImpl
- All Implemented Interfaces:
- ApplicationPropertiesService
public class ApplicationPropertiesServiceImpl
- extends Object
- implements ApplicationPropertiesService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplicationPropertiesServiceImpl
public ApplicationPropertiesServiceImpl(ApplicationPropertiesStore applicationPropertiesStore,
com.atlassian.event.api.EventPublisher eventPublisher)
getEditableApplicationProperties
public List<ApplicationProperty> getEditableApplicationProperties()
- Description copied from interface:
ApplicationPropertiesService
- Retrieves all properties that can be edited dynamically by the user.
- Specified by:
getEditableApplicationProperties
in interface ApplicationPropertiesService
- Returns:
- the properties.
getApplicationProperty
public ApplicationProperty getApplicationProperty(String key)
- Description copied from interface:
ApplicationPropertiesService
- Retrieves a property with the given key.
- Specified by:
getApplicationProperty
in interface ApplicationPropertiesService
- Parameters:
key
- the property's key.
- Returns:
- the property or null if there is no property with that key.
setApplicationProperty
public Validated<ApplicationProperty> setApplicationProperty(String key,
String value)
- Description copied from interface:
ApplicationPropertiesService
- Stores the given value for the given key in the underlying data store.
- Specified by:
setApplicationProperty
in interface ApplicationPropertiesService
- Parameters:
key
- the key.value
- the string representation of the value.
- Returns:
- the property in full that corresponds to the new state of the property.
Copyright © 2002-2011 Atlassian. All Rights Reserved.