com.atlassian.jira.functest.config
Class JiraConfig

java.lang.Object
  extended by com.atlassian.jira.functest.config.JiraConfig

public class JiraConfig
extends Object

An object that represents JIRA's configuration. Mainly kept around for efficiency.

Since:
v4.0

Constructor Summary
JiraConfig()
           
JiraConfig(org.dom4j.Document document, File file)
           
JiraConfig(org.dom4j.Document document, File file, ConfigSequence configSequence, ConfigMailServerManager configMailServerManager, ConfigPropertySetManager configPropertySetManager, ConfigServiceManager configServiceManager, ConfigDashboardManager dashboardManager, ConfigGadgetManager gadgetManager, ConfigAdminLocator adminLocator, ConfigCrowdApplicationManager crowdApplicationManager)
           
 
Method Summary
 ConfigPropertySet getApplicationProperties()
           
 long getBuildNumber()
           
 List<ConfigCrowdApplication> getCrowdApplications()
           
 List<ConfigDashboard> getDashboards()
           
 org.dom4j.Document getDocument()
           
 List<ConfigExternalGadget> getExternalGadgets()
           
 File getFile()
           
 List<ConfigMailServer> getMailServers()
           
 List<ConfigService> getServices()
           
 Set<String> getSystemAdmins()
           
static boolean isJiraXml(org.dom4j.Document document)
           
 void markDirty()
           
 boolean save()
           
 JiraConfig setApplicationProperties(ConfigPropertySet applicationProperties)
           
 JiraConfig setCrowdApplications(List<ConfigCrowdApplication> crowdApplications)
           
 JiraConfig setDashboards(List<ConfigDashboard> dashboards)
           
 JiraConfig setExternalGadgets(List<ConfigExternalGadget> externalGadgets)
           
 JiraConfig setMailServers(List<ConfigMailServer> mailServers)
           
 JiraConfig setServices(List<ConfigService> services)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiraConfig

public JiraConfig(org.dom4j.Document document,
                  File file)

JiraConfig

public JiraConfig(org.dom4j.Document document,
                  File file,
                  ConfigSequence configSequence,
                  ConfigMailServerManager configMailServerManager,
                  ConfigPropertySetManager configPropertySetManager,
                  ConfigServiceManager configServiceManager,
                  ConfigDashboardManager dashboardManager,
                  ConfigGadgetManager gadgetManager,
                  ConfigAdminLocator adminLocator,
                  ConfigCrowdApplicationManager crowdApplicationManager)

JiraConfig

public JiraConfig()
Method Detail

getBuildNumber

public long getBuildNumber()

setApplicationProperties

public JiraConfig setApplicationProperties(ConfigPropertySet applicationProperties)

getSystemAdmins

public Set<String> getSystemAdmins()

getApplicationProperties

public ConfigPropertySet getApplicationProperties()

getServices

public List<ConfigService> getServices()

setServices

public JiraConfig setServices(List<ConfigService> services)

getMailServers

public List<ConfigMailServer> getMailServers()

setMailServers

public JiraConfig setMailServers(List<ConfigMailServer> mailServers)

getDashboards

public List<ConfigDashboard> getDashboards()

setDashboards

public JiraConfig setDashboards(List<ConfigDashboard> dashboards)

getExternalGadgets

public List<ConfigExternalGadget> getExternalGadgets()

setExternalGadgets

public JiraConfig setExternalGadgets(List<ConfigExternalGadget> externalGadgets)

getCrowdApplications

public List<ConfigCrowdApplication> getCrowdApplications()

setCrowdApplications

public JiraConfig setCrowdApplications(List<ConfigCrowdApplication> crowdApplications)

markDirty

public void markDirty()

save

public boolean save()

getDocument

public org.dom4j.Document getDocument()

getFile

public File getFile()

isJiraXml

public static boolean isJiraXml(org.dom4j.Document document)


Copyright © 2002-2011 Atlassian. All Rights Reserved.