com.atlassian.bamboo.setup
Interface BootstrapManager

All Superinterfaces:
com.atlassian.config.bootstrap.AtlassianBootstrapManager
All Known Implementing Classes:
DefaultBootstrapManager

public interface BootstrapManager
extends com.atlassian.config.bootstrap.AtlassianBootstrapManager

A Bamboo specialisation of the generic AtlassianBootstrapManager.


Field Summary
static java.lang.String FINGERPRINT_PARAM
           
 
Method Summary
 java.net.URI getBrokerClientURI()
           
 java.net.URI getBrokerURI()
           
 java.lang.String getBuildDirectory()
          Gets the directory where Bamboo's build files sit.
 java.lang.String getBuildWorkingDirectory()
           
 java.lang.String getConfigDirectory()
          Gets the directory where Bamboo's administration.xml file sits
 java.lang.String getFingerprint()
          Provides a unique identifier for this startup
 java.io.File getIndexDirectory()
          Returns the index directory as stored in the cfg.xml file with the bambooHome preopty replaced
 java.lang.String getServerID()
           
 void setBrokerClientURI(java.net.URI brokerURI)
           
 void setBrokerURI(java.net.URI brokerUrl)
           
 void setBuildDirectory(java.lang.String buildDirectory)
           
 void setBuildWorkingDirectory(java.lang.String buildWorkingDirectory)
           
 void setConfigDirectory(java.lang.String configurationDirectory)
           
 void setServerID(java.lang.String serverId)
           
 
Methods inherited from interface com.atlassian.config.bootstrap.AtlassianBootstrapManager
bootstrapDatabase, bootstrapDatasource, databaseContainsExistingData, getApplicationConfig, getApplicationHome, getBootstrapFailureReason, getBuildNumber, getConfiguredApplicationHome, getFilePathProperty, getHibernateConfig, getHibernateConfigurator, getHibernateProperties, getOperation, getPropertiesWithPrefix, getProperty, getPropertyKeys, getSetupPersister, getString, getTestDatabaseConnection, getTestDatasourceConnection, init, isApplicationHomeValid, isBootstrapped, isPropertyTrue, isSetupComplete, publishConfiguration, removeProperty, save, setBuildNumber, setHibernateConfigurator, setOperation, setProperty, setSetupComplete
 

Field Detail

FINGERPRINT_PARAM

static final java.lang.String FINGERPRINT_PARAM
See Also:
Constant Field Values
Method Detail

getConfigDirectory

java.lang.String getConfigDirectory()
Gets the directory where Bamboo's administration.xml file sits

Returns:
String representing the path to the folder. Null if not configured

setConfigDirectory

void setConfigDirectory(java.lang.String configurationDirectory)

getBuildDirectory

java.lang.String getBuildDirectory()
Gets the directory where Bamboo's build files sit. This includes artifacts and the like

Returns:
String representing the path to the folder. Null if not configured

setBuildDirectory

void setBuildDirectory(java.lang.String buildDirectory)

getBuildWorkingDirectory

java.lang.String getBuildWorkingDirectory()

setBuildWorkingDirectory

void setBuildWorkingDirectory(java.lang.String buildWorkingDirectory)

getIndexDirectory

@Nullable
java.io.File getIndexDirectory()
Returns the index directory as stored in the cfg.xml file with the bambooHome preopty replaced


getServerID

java.lang.String getServerID()

setServerID

void setServerID(java.lang.String serverId)

getBrokerURI

java.net.URI getBrokerURI()
                          throws java.net.URISyntaxException
Throws:
java.net.URISyntaxException

setBrokerURI

void setBrokerURI(java.net.URI brokerUrl)

getBrokerClientURI

java.net.URI getBrokerClientURI()
                                throws java.net.URISyntaxException
Throws:
java.net.URISyntaxException

setBrokerClientURI

void setBrokerClientURI(java.net.URI brokerURI)

getFingerprint

@NotNull
java.lang.String getFingerprint()
Provides a unique identifier for this startup

Returns:


Copyright © 2010 Atlassian. All Rights Reserved.