BAMBOO_KEY| Constructor and Description |
|---|
BambooContainer() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearErrorMessages()
deletes all error messages
|
AdministrationConfiguration |
getAdministrationConfiguration() |
static BambooContainer |
getBambooContainer() |
ErrorDetails |
getBuildErrorDetails(String buildKey,
int errorNumber)
Obtain the errorNumber'th error for the given buildName from the internal system error log
|
Persister |
getDefaultPersister() |
Collection<ErrorDetails> |
getElasticErrorMessages()
Obtain all of the logged error messages associated with elastic bamboo
|
Collection<ErrorDetails> |
getErrorMessages()
What error messages have we detected to far?
|
Collection<ErrorDetails> |
getErrorMessages(PlanKey planKey)
Obtain all of the system logged error messages
|
Collection<ErrorDetails> |
getErrorMessagesByAgentId(Long agentId)
Obtain the system logged error messages filtered by Agent Id
|
SessionManager |
getSessionManager()
Which session manager is the system using?
|
protected void |
init() |
void |
initialise()
Initialises the Bamboo give the application root
|
void |
initialisePlansAfterImport()
Plan oriented initialisation:
enable/initialise plan cache
initialise the builds/build strategies so that they are initialised when the server is started
|
void |
prepareForRestart()
Prepare for restart the container's components
|
void |
registerCustomEventListeners() |
void |
removeBuildErrorFromLog(String buildKey,
int errorNumber)
Remove the errorNumber'th error for the given buildName from the internal system error log
|
void |
reportBuildConfigurationProblems(Persister persister,
ErrorHandler errorHandler) |
void |
restartComponentsFollowingConfigurationChange()
Restart the configuration dependent components
|
void |
start(javax.servlet.ServletContext servletContext)
Start the container's components
|
protected void |
startJobScheduler() |
void |
stop()
Stop the container's components
|
public void initialise()
throws Exception
Exceptionprotected void init()
throws com.atlassian.plugin.PluginParseException
com.atlassian.plugin.PluginParseExceptionpublic void start(@NotNull
javax.servlet.ServletContext servletContext)
throws Exception
protected void startJobScheduler()
public void initialisePlansAfterImport()
throws IOException
IOExceptionpublic void registerCustomEventListeners()
public void reportBuildConfigurationProblems(Persister persister, ErrorHandler errorHandler)
public void prepareForRestart()
throws Exception
Exceptionpublic void restartComponentsFollowingConfigurationChange()
restartComponentsFollowingConfigurationChange in interface Bamboopublic Collection<ErrorDetails> getErrorMessages()
getErrorMessages in interface Bamboopublic Collection<ErrorDetails> getErrorMessages(@NotNull PlanKey planKey)
BamboogetErrorMessages in interface Bamboopublic Collection<ErrorDetails> getElasticErrorMessages()
BamboogetElasticErrorMessages in interface Bamboopublic Collection<ErrorDetails> getErrorMessagesByAgentId(@NotNull Long agentId)
BamboogetErrorMessagesByAgentId in interface Bamboopublic void clearErrorMessages()
BambooclearErrorMessages in interface Bamboopublic void removeBuildErrorFromLog(String buildKey, int errorNumber)
BambooremoveBuildErrorFromLog in interface BamboobuildKey - The name of the build with the associated errorerrorNumber - The error number (zero based index of error associated with build)public ErrorDetails getBuildErrorDetails(String buildKey, int errorNumber)
BamboogetBuildErrorDetails in interface BamboobuildKey - The name of the build with the associated errorerrorNumber - The error number (zero based index of error associated with build)public Persister getDefaultPersister()
getDefaultPersister in interface Bamboopublic SessionManager getSessionManager()
BamboogetSessionManager in interface Bamboopublic AdministrationConfiguration getAdministrationConfiguration()
getAdministrationConfiguration in interface Bamboopublic static BambooContainer getBambooContainer()
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.