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.
|
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
|
ServerFingerprint |
getFingerprint() |
String |
getH2VersionFromConfig() |
File |
getIndexDirectory()
Returns the index directory as stored in the cfg.xml file with the bambooHome property replaced
|
String |
getRepositoryLogsDirectory() |
String |
getServerID() |
int |
getServerKey()
Returns server key used for
BambooEntityOid s of this Bamboo instance. |
boolean |
initializeServerKey()
Initializes server key used for
BambooEntityOid s 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 |
setRepositoryLogsDirectory(String repositoryLogsDirectory) |
void |
setServerID(String serverId) |
void |
setServerKey(int serverKey)
Set server key used for
BambooEntityOid s 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, setSetupComplete
static final String SERVER_FINGERPRINT_PARAM
static final String INSTANCE_FINGERPRINT_PARAM
String 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)
@Nullable File getIndexDirectory()
String getServerID()
void setServerID(String serverId)
boolean initializeServerKey()
BambooEntityOid
s 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()
BambooEntityOid
s of this Bamboo instance.IllegalStateException
- if the value is not configured for this Bamboo instance or is invalidvoid setServerKey(int serverKey)
BambooEntityOid
s for this Bamboo instance.serverKey
- server key of this instanceIllegalArgumentException
- if the value is incorrect (e.g. is negative)URI getBrokerURI() throws URISyntaxException
URISyntaxException
void setBrokerURI(URI brokerUrl)
URI getBrokerClientURI() throws URISyntaxException
URISyntaxException
void setBrokerClientURI(URI brokerURI)
@NotNull ServerFingerprint getFingerprint()
String getH2VersionFromConfig()
boolean resetH2Version()
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.