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.lang.String getArtifactsDirectory()
          This method returns the root directory underneath which the artifacts are stored.
 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()
          This method returns the root directory underneath which the build directories are located.
 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 setArtifactsDirectory(java.lang.String artifactsDir)
           
 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()
This method returns the root directory underneath which the build directories are located. The structure below this directory is not documented - you most likely do not want to use this method, consider using DefaultBuildDirectoryManager methods instead.


setBuildWorkingDirectory

void setBuildWorkingDirectory(java.lang.String buildWorkingDirectory)

getArtifactsDirectory

java.lang.String getArtifactsDirectory()
This method returns the root directory underneath which the artifacts are stored. The structure below this directory is not documented - you most likely do not want to use this method, consider using SystemDirectory methods instead.


setArtifactsDirectory

void setArtifactsDirectory(java.lang.String artifactsDir)

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 © 2012 Atlassian. All Rights Reserved.