com.atlassian.config
Interface ApplicationConfiguration

All Known Implementing Classes:
ApplicationConfig

public interface ApplicationConfiguration


Method Summary
 boolean configFileExists()
           
 String getApplicationHome()
           
 String getApplicationVersion()
           
 boolean getBooleanProperty(Object key)
           
 String getBuildNumber()
           
 String getCurrentSetupStep()
           
 int getIntegerProperty(Object key)
           
 int getMajorVersion()
           
 int getMinorVersion()
           
 Map getProperties()
           
 Map getPropertiesWithPrefix(String prefix)
           
 Object getProperty(Object key)
           
 String getSetupType()
           
 boolean isApplicationHomeValid()
           
 boolean isSetupComplete()
           
 void load()
           
 Object removeProperty(Object key)
           
 void reset()
           
 void save()
           
 void setApplicationHome(String home)
           
 void setBuildNumber(String build)
           
 void setConfigurationFileName(String configurationFileName)
           
 void setConfigurationPersister(ConfigurationPersister config)
           
 void setCurrentSetupStep(String currentSetupStep)
           
 void setMajorVersion(int majorVersion)
           
 void setMinorVersion(int minorVersion)
           
 void setProperty(Object key, boolean value)
           
 void setProperty(Object key, int value)
           
 void setProperty(Object key, Object value)
           
 void setSetupComplete(boolean setupComplete)
           
 void setSetupType(String setupType)
           
 

Method Detail

setApplicationHome

void setApplicationHome(String home)
                        throws ConfigurationException
Throws:
ConfigurationException

getApplicationHome

String getApplicationHome()

isApplicationHomeValid

boolean isApplicationHomeValid()

setProperty

void setProperty(Object key,
                 Object value)

setProperty

void setProperty(Object key,
                 int value)

setProperty

void setProperty(Object key,
                 boolean value)

getProperty

Object getProperty(Object key)

getBooleanProperty

boolean getBooleanProperty(Object key)

getIntegerProperty

int getIntegerProperty(Object key)

removeProperty

Object removeProperty(Object key)

getProperties

Map getProperties()

setBuildNumber

void setBuildNumber(String build)

getBuildNumber

String getBuildNumber()

getMajorVersion

int getMajorVersion()

setMajorVersion

void setMajorVersion(int majorVersion)

getMinorVersion

int getMinorVersion()

setMinorVersion

void setMinorVersion(int minorVersion)

getApplicationVersion

String getApplicationVersion()

getPropertiesWithPrefix

Map getPropertiesWithPrefix(String prefix)

isSetupComplete

boolean isSetupComplete()

setSetupComplete

void setSetupComplete(boolean setupComplete)

setConfigurationPersister

void setConfigurationPersister(ConfigurationPersister config)

save

void save()
          throws ConfigurationException
Throws:
ConfigurationException

reset

void reset()

getSetupType

String getSetupType()

setSetupType

void setSetupType(String setupType)

getCurrentSetupStep

String getCurrentSetupStep()

setCurrentSetupStep

void setCurrentSetupStep(String currentSetupStep)

load

void load()
          throws ConfigurationException
Throws:
ConfigurationException

configFileExists

boolean configFileExists()

setConfigurationFileName

void setConfigurationFileName(String configurationFileName)


Atlassian Config is developed by Atlassian Software Systems.