com.atlassian.jira.admin
Class ApplicationPropertiesPersister

java.lang.Object
  extended by com.atlassian.jira.admin.ApplicationPropertiesPersister
All Implemented Interfaces:
PropertyPersister

public class ApplicationPropertiesPersister
extends Object
implements PropertyPersister

Persister that uses the JIRA application properties as a storage back end.

Since:
v5.0.7

Constructor Summary
ApplicationPropertiesPersister(ApplicationProperties applicationProperties, String propertyName)
           
 
Method Summary
 String load()
          Returns the saved value.
 void save(String value)
          Saves a new value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationPropertiesPersister

public ApplicationPropertiesPersister(ApplicationProperties applicationProperties,
                                      String propertyName)
Method Detail

load

public String load()
Description copied from interface: PropertyPersister
Returns the saved value.

Specified by:
load in interface PropertyPersister
Returns:
a String containing the saved value

save

public void save(String value)
Description copied from interface: PropertyPersister
Saves a new value.

Specified by:
save in interface PropertyPersister
Parameters:
value - a String containing the value to save


Copyright © 2002-2013 Atlassian. All Rights Reserved.