com.atlassian.bamboo.setup
Class DefaultBootstrapManager
java.lang.Object
DefaultAtlassianBootstrapManager
com.atlassian.bamboo.setup.DefaultBootstrapManager
- All Implemented Interfaces:
- BootstrapManager
public class DefaultBootstrapManager
- extends DefaultAtlassianBootstrapManager
- implements BootstrapManager
BootstrapManager is responsible for initializing the dependencies of Bamboo environment.
- Initializing the Bamboo environment, beginning with loading bamboo.cfg.xml from the bamboo.home
property specified in bamboo-init.properties.
- Delegating, monitoring, and answering all client requests concerning Bamboo initialization routines.
- Providing the SetupPersister with whatever resources it needs to let a user bootstrapManager Bamboo.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultBootstrapManager
public DefaultBootstrapManager()
afterConfigurationLoaded
protected void afterConfigurationLoaded()
throws ConfigurationException
- Throws:
ConfigurationException
getConfigDirectory
public String getConfigDirectory()
- Description copied from interface:
BootstrapManager
- Gets the directory where Bamboo's administration.xml file sits
- Specified by:
getConfigDirectory
in interface BootstrapManager
- Returns:
- String representing the path to the folder. Null if not configured
setConfigDirectory
public void setConfigDirectory(String configurationDirectory)
- Specified by:
setConfigDirectory
in interface BootstrapManager
getBuildDirectory
public String getBuildDirectory()
- Description copied from interface:
BootstrapManager
- Gets the directory where Bamboo's build files sit. This includes artifacts and the like
- Specified by:
getBuildDirectory
in interface BootstrapManager
- Returns:
- String representing the path to the folder. Null if not configured
setBuildDirectory
public void setBuildDirectory(String buildDirectory)
- Specified by:
setBuildDirectory
in interface BootstrapManager
bootstrapDatabase
public void bootstrapDatabase(DatabaseDetails databaseDetails,
boolean b)
throws BootstrapException
- Throws:
BootstrapException
setBambooLicenseManager
public void setBambooLicenseManager(BambooLicenseManager bambooLicenseManager)
getDbUrl
protected String getDbUrl(DatabaseDetails dbDetails)
Copyright © 2006 Atlassian Software Systems. All Rights Reserved.