|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.container.BambooContainer
public class BambooContainer
This class uses an IoC container to glue together the various Bamboo build server components. This class is effectively deprecated... Try not to add to it if avoidable
Field Summary |
---|
Fields inherited from interface com.atlassian.bamboo.Bamboo |
---|
BAMBOO_KEY |
Constructor Summary | |
---|---|
BambooContainer()
|
Method Summary | |
---|---|
void |
clearErrorMessages()
deletes all error messages |
AdministrationConfiguration |
getAdministrationConfiguration()
|
static BambooContainer |
getBambooContainer()
|
BambooSmackClient |
getBambooSmackClient()
|
ErrorDetails |
getBuildErrorDetails(java.lang.String buildKey,
int errorNumber)
Obtain the errorNumber'th error for the given buildName from the internal system error log |
BuildQueueMonitorJobScheduler |
getBuildQueueMonitorJobScheduler()
|
Persister |
getDefaultPersister()
Which persister is the system using? |
java.util.Collection<ErrorDetails> |
getElasticErrorMessages()
Obtain all of the logged error messages associated with elastic bamboo |
java.util.Collection<ErrorDetails> |
getErrorMessages()
What error messages have we detected to far? |
java.util.Collection<ErrorDetails> |
getErrorMessages(PlanKey planKey)
Obtain all of the system logged error messages |
HeartBeatCheckerJobScheduler |
getHeartBeatCheckerJobScheduler()
|
ScheduleBackupBean |
getScheduleBackupBean()
|
org.quartz.Scheduler |
getScheduler()
|
com.atlassian.plugin.servlet.ServletModuleManager |
getServletModuleManager()
|
SessionManager |
getSessionManager()
Which session manager is the system using? |
org.apache.velocity.app.VelocityEngine |
getVelocityEngine()
|
protected void |
init()
|
void |
initialise()
Initialises the Bamboo give the application root |
void |
initialisePlans()
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(java.lang.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 |
setAgentManager(AgentManager agentManager)
|
static void |
setBambooContainer(BambooContainer bambooContainer)
|
void |
setBambooSchedulers(java.util.List<BambooScheduler> bambooSchedulers)
|
void |
setBambooSmackClient(BambooSmackClient bambooSmackClient)
|
void |
setBambooUserManager(BambooUserManager bambooUserManager)
|
void |
setBootstrapManager(BootstrapManager bootstrapManager)
|
void |
setBranchDetectionJobScheduler(BranchDetectionJobScheduler branchDetectionJobScheduler)
|
void |
setBuildMonitorJobScheduler(BuildMonitorJobScheduler buildMonitorJobScheduler)
|
void |
setBuildQueueMonitorJobScheduler(BuildQueueMonitorJobScheduler buildQueueMonitorJobScheduler)
|
void |
setBuildSuspensionCheckBean(BuildSuspensionCheckBean buildSuspensionCheckBean)
|
void |
setCachedPlanManager(CachedPlanManager cachedPlanManager)
|
void |
setCapabilityDefaultsHelper(CapabilityDefaultsHelper capabilityDefaultsHelper)
|
void |
setCapabilitySetManager(CapabilitySetManager capabilitySetManager)
|
void |
setElasticImageConfigurationManager(ElasticImageConfigurationManager elasticImageConfigurationManager)
|
void |
setErrorHandler(ErrorHandler errorHandler)
|
void |
setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
|
void |
setHeartBeatCheckerJobScheduler(HeartBeatCheckerJobScheduler heartBeatCheckerJobScheduler)
|
void |
setImmutablePlanCacheService(ImmutablePlanCacheService immutablePlanCacheService)
|
void |
setPendingBuildResultsCleanup(PendingBuildResultsCleanup pendingBuildResultsCleanup)
|
void |
setPersister(Persister persister)
|
void |
setPluginManager(com.atlassian.plugin.PluginManager pluginManager)
|
void |
setRemoteAgentManager(RemoteAgentManager remoteAgentManager)
|
void |
setScheduleBackupBean(ScheduleBackupBean scheduleBackupBean)
|
void |
setScheduler(org.quartz.Scheduler scheduler)
|
void |
setServerLifecycleManager(ServerLifecycleManager serverLifecycleManager)
|
void |
setServletModuleManager(com.atlassian.plugin.servlet.ServletModuleManager servletModuleManager)
|
void |
start(javax.servlet.ServletContext servletContext)
Start the container's components |
protected void |
startJobScheduler()
|
void |
stop()
Stop the container's components |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BambooContainer() throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
public void initialise() throws java.lang.Exception
java.lang.Exception
protected void init() throws com.atlassian.plugin.PluginParseException
com.atlassian.plugin.PluginParseException
public void setPluginManager(com.atlassian.plugin.PluginManager pluginManager)
public void start(@NotNull javax.servlet.ServletContext servletContext) throws java.lang.Exception
start
in interface Bamboo
java.lang.Exception
protected void startJobScheduler()
public void initialisePlans()
public void registerCustomEventListeners()
public void reportBuildConfigurationProblems(Persister persister, ErrorHandler errorHandler)
public void stop()
stop
in interface Bamboo
public void prepareForRestart() throws java.lang.Exception
java.lang.Exception
public void restartComponentsFollowingConfigurationChange()
restartComponentsFollowingConfigurationChange
in interface Bamboo
public java.util.Collection<ErrorDetails> getErrorMessages()
getErrorMessages
in interface Bamboo
public java.util.Collection<ErrorDetails> getErrorMessages(@NotNull PlanKey planKey)
Bamboo
getErrorMessages
in interface Bamboo
public java.util.Collection<ErrorDetails> getElasticErrorMessages()
Bamboo
getElasticErrorMessages
in interface Bamboo
public void clearErrorMessages()
Bamboo
clearErrorMessages
in interface Bamboo
public void removeBuildErrorFromLog(java.lang.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(java.lang.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()
Bamboo
getDefaultPersister
in interface Bamboo
public SessionManager getSessionManager()
Bamboo
getSessionManager
in interface Bamboo
public AdministrationConfiguration getAdministrationConfiguration()
getAdministrationConfiguration
in interface Bamboo
public static BambooContainer getBambooContainer()
public static void setBambooContainer(BambooContainer bambooContainer)
public void setErrorHandler(ErrorHandler errorHandler)
public void setAgentManager(AgentManager agentManager)
public void setRemoteAgentManager(RemoteAgentManager remoteAgentManager)
public void setServerLifecycleManager(ServerLifecycleManager serverLifecycleManager)
public void setPersister(Persister persister)
public void setBambooUserManager(BambooUserManager bambooUserManager)
public void setImmutablePlanCacheService(ImmutablePlanCacheService immutablePlanCacheService)
public void setCachedPlanManager(CachedPlanManager cachedPlanManager)
public org.quartz.Scheduler getScheduler()
public void setScheduler(org.quartz.Scheduler scheduler)
public org.apache.velocity.app.VelocityEngine getVelocityEngine()
public BambooSmackClient getBambooSmackClient()
public void setBambooSmackClient(BambooSmackClient bambooSmackClient)
public void setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
public void setBootstrapManager(BootstrapManager bootstrapManager)
public ScheduleBackupBean getScheduleBackupBean()
public void setScheduleBackupBean(ScheduleBackupBean scheduleBackupBean)
public HeartBeatCheckerJobScheduler getHeartBeatCheckerJobScheduler()
public void setHeartBeatCheckerJobScheduler(HeartBeatCheckerJobScheduler heartBeatCheckerJobScheduler)
public BuildQueueMonitorJobScheduler getBuildQueueMonitorJobScheduler()
public void setBuildQueueMonitorJobScheduler(BuildQueueMonitorJobScheduler buildQueueMonitorJobScheduler)
public void setBuildMonitorJobScheduler(BuildMonitorJobScheduler buildMonitorJobScheduler)
public void setBranchDetectionJobScheduler(BranchDetectionJobScheduler branchDetectionJobScheduler)
public void setElasticImageConfigurationManager(ElasticImageConfigurationManager elasticImageConfigurationManager)
public void setBambooSchedulers(java.util.List<BambooScheduler> bambooSchedulers)
public void setBuildSuspensionCheckBean(BuildSuspensionCheckBean buildSuspensionCheckBean)
public void setCapabilitySetManager(CapabilitySetManager capabilitySetManager)
public void setCapabilityDefaultsHelper(CapabilityDefaultsHelper capabilityDefaultsHelper)
public void setPendingBuildResultsCleanup(PendingBuildResultsCleanup pendingBuildResultsCleanup)
public com.atlassian.plugin.servlet.ServletModuleManager getServletModuleManager()
public void setServletModuleManager(com.atlassian.plugin.servlet.ServletModuleManager servletModuleManager)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |