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
Exception
protected void init() throws com.atlassian.plugin.PluginParseException
com.atlassian.plugin.PluginParseException
public void start(@NotNull javax.servlet.ServletContext servletContext) throws Exception
protected void startJobScheduler()
public void initialisePlansAfterImport() throws IOException
IOException
public void registerCustomEventListeners()
public void reportBuildConfigurationProblems(Persister persister, ErrorHandler errorHandler)
public void prepareForRestart() throws Exception
Exception
public void restartComponentsFollowingConfigurationChange()
restartComponentsFollowingConfigurationChange
in interface Bamboo
public Collection<ErrorDetails> getErrorMessages()
getErrorMessages
in interface Bamboo
public Collection<ErrorDetails> getErrorMessages(@NotNull PlanKey planKey)
Bamboo
getErrorMessages
in interface Bamboo
public Collection<ErrorDetails> getElasticErrorMessages()
Bamboo
getElasticErrorMessages
in interface Bamboo
public Collection<ErrorDetails> getErrorMessagesByAgentId(@NotNull Long agentId)
Bamboo
getErrorMessagesByAgentId
in interface Bamboo
public void clearErrorMessages()
Bamboo
clearErrorMessages
in interface Bamboo
public void removeBuildErrorFromLog(String buildKey, int errorNumber)
Bamboo
removeBuildErrorFromLog
in interface Bamboo
buildKey
- 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)
Bamboo
getBuildErrorDetails
in interface Bamboo
buildKey
- 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 Bamboo
public SessionManager getSessionManager()
Bamboo
getSessionManager
in interface Bamboo
public AdministrationConfiguration getAdministrationConfiguration()
getAdministrationConfiguration
in interface Bamboo
public static BambooContainer getBambooContainer()
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.