public interface BootstrapManager
extends com.atlassian.config.bootstrap.AtlassianBootstrapManager
AtlassianBootstrapManager.| Modifier and Type | Field and Description |
|---|---|
static String |
INSTANCE_FINGERPRINT_PARAM |
static String |
SERVER_FINGERPRINT_PARAM |
| Modifier and Type | Method and Description |
|---|---|
String |
getArtifactsDirectory()
This method returns the root directory underneath which the artifacts are stored.
|
BambooSharedProperties |
getBambooSharedProperties()
Shared home properties (bamboo-shared.cfg.xml)
|
URI |
getBrokerClientURI() |
URI |
getBrokerURI() |
String |
getBuildDirectory()
Gets the directory where Bamboo's build files sit.
|
String |
getBuildWorkingDirectory()
This method returns the root directory underneath which the build directories are located.
|
String |
getConfigDirectory()
Gets the directory where Bamboo's administration.xml file sits
|
@NotNull ServerFingerprint |
getFingerprint() |
String |
getH2VersionFromConfig() |
default @Nullable File |
getIndexDirectory()
Deprecated.
since 8.2 there's no index, returns null
|
String |
getLocalHomePath()
Local home directory;
|
String |
getRepositoryLogsDirectory() |
String |
getServerID() |
int |
getServerKey()
Returns server key used for
BambooEntityOids of this Bamboo instance. |
String |
getSharedHomePath()
Shared home directory;
|
boolean |
initializeBuildNumberIfRequired() |
boolean |
initializeServerKey()
Initializes server key used for
BambooEntityOids of this Bamboo instance based on server ID. |
boolean |
resetH2Version() |
void |
setArtifactsDirectory(String artifactsDir) |
void |
setBrokerClientURI(URI brokerURI) |
void |
setBrokerURI(URI brokerUrl) |
void |
setBuildDirectory(String buildDirectory) |
void |
setBuildWorkingDirectory(String buildWorkingDirectory) |
void |
setConfigDirectory(String configurationDirectory) |
void |
setH2Version(String h2Version) |
void |
setRepositoryLogsDirectory(String repositoryLogsDirectory) |
void |
setServerID(String serverId) |
void |
setServerKey(int serverKey)
Set server key used for
BambooEntityOids for this Bamboo instance. |
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, setSetupCompletestatic final String SERVER_FINGERPRINT_PARAM
static final String INSTANCE_FINGERPRINT_PARAM
boolean initializeBuildNumberIfRequired()
throws com.atlassian.config.ConfigurationException
com.atlassian.config.ConfigurationExceptionString getConfigDirectory()
void setConfigDirectory(String configurationDirectory)
String getBuildDirectory()
void setBuildDirectory(String buildDirectory)
String getBuildWorkingDirectory()
void setBuildWorkingDirectory(String buildWorkingDirectory)
String getArtifactsDirectory()
void setArtifactsDirectory(String artifactsDir)
String getRepositoryLogsDirectory()
void setRepositoryLogsDirectory(String repositoryLogsDirectory)
@Deprecated @Nullable default @Nullable File getIndexDirectory()
String getServerID()
void setServerID(String serverId)
boolean initializeServerKey()
BambooEntityOids of this Bamboo instance based on server ID. Does nothing if the server key is already configured.
This method should be externally synchronized.IllegalStateException - if the value is not configured and can't be generated, e.g. the server ID has not been set yet.int getServerKey()
BambooEntityOids of this Bamboo instance.IllegalStateException - if the value is not configured for this Bamboo instance or is invalidvoid setServerKey(int serverKey)
BambooEntityOids for this Bamboo instance.serverKey - server key of this instanceIllegalArgumentException - if the value is incorrect (e.g. is negative)URI getBrokerURI() throws URISyntaxException
URISyntaxExceptionvoid setBrokerURI(URI brokerUrl)
URI getBrokerClientURI() throws URISyntaxException
URISyntaxExceptionvoid setBrokerClientURI(URI brokerURI)
@NotNull @NotNull ServerFingerprint getFingerprint()
String getH2VersionFromConfig()
boolean resetH2Version()
void setH2Version(String h2Version) throws com.atlassian.config.ConfigurationException
com.atlassian.config.ConfigurationExceptionString getLocalHomePath()
String getSharedHomePath()
BambooSharedProperties getBambooSharedProperties()
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.