com.atlassian.jira.config.properties
Class SystemPropertiesAccessor

java.lang.Object
  extended by com.atlassian.jira.config.properties.SystemPropertiesAccessor
All Implemented Interfaces:
PropertiesAccessor

public class SystemPropertiesAccessor
extends Object
implements PropertiesAccessor

Implementation of accessing the system properties.

Since:
v6.1

Constructor Summary
SystemPropertiesAccessor()
           
 
Method Summary
 Boolean getBoolean(String key)
           
 Integer getInteger(String key)
           
 Long getLong(String key)
           
 Properties getProperties()
           
 String getProperty(String key)
           
 void refresh()
           
 void refresh(String key)
           
 void setProperties(Properties props)
           
 void setProperty(String key, String value)
           
 void unsetProperty(String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemPropertiesAccessor

public SystemPropertiesAccessor()
Method Detail

getBoolean

public Boolean getBoolean(@Nonnull
                          String key)
Specified by:
getBoolean in interface PropertiesAccessor

getProperty

public String getProperty(@Nonnull
                          String key)
Specified by:
getProperty in interface PropertiesAccessor

setProperty

public void setProperty(@Nonnull
                        String key,
                        @Nonnull
                        String value)
Specified by:
setProperty in interface PropertiesAccessor

unsetProperty

public void unsetProperty(@Nonnull
                          String key)
Specified by:
unsetProperty in interface PropertiesAccessor

getProperties

public Properties getProperties()
Specified by:
getProperties in interface PropertiesAccessor

setProperties

public void setProperties(@Nonnull
                          Properties props)
Specified by:
setProperties in interface PropertiesAccessor

getInteger

public Integer getInteger(@Nonnull
                          String key)
Specified by:
getInteger in interface PropertiesAccessor

getLong

public Long getLong(@Nonnull
                    String key)
Specified by:
getLong in interface PropertiesAccessor

refresh

public void refresh()
Specified by:
refresh in interface PropertiesAccessor

refresh

public void refresh(@Nonnull
                    String key)
Specified by:
refresh in interface PropertiesAccessor


Copyright © 2002-2014 Atlassian. All Rights Reserved.