|
||||||||||
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()
|
java.io.File |
getBuildDirectory()
Where do we build builds? |
BuilderManager |
getBuilderManager()
|
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 |
getErrorMessages()
What error messages have we detected to far? |
java.util.Collection |
getErrorMessages(java.lang.String buildKey)
Obtain all of the logged error messages associated with a build |
HeartBeatCheckerJobScheduler |
getHeartBeatCheckerJobScheduler()
|
PlanManager |
getPlanManager()
|
ScheduleBackupBean |
getScheduleBackupBean()
|
org.quartz.Scheduler |
getScheduler()
|
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()
Initialise the builds/build strategies so that they are intialised 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 |
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 |
setBuilderManager(BuilderManager builderManager)
|
void |
setBuildMonitorJobScheduler(BuildMonitorJobScheduler buildMonitorJobScheduler)
|
void |
setBuildQueueMonitorJobScheduler(BuildQueueMonitorJobScheduler buildQueueMonitorJobScheduler)
|
void |
setBuildSuspensionCheckBean(BuildSuspensionCheckBean buildSuspensionCheckBean)
|
void |
setCapabilityDefaultsHelper(CapabilityDefaultsHelper capabilityDefaultsHelper)
|
void |
setCapabilitySetManager(CapabilitySetManager capabilitySetManager)
|
void |
setElasticFunctionalityFacade(ElasticFunctionalityFacade elasticFunctionalityFacade)
|
void |
setElasticImageConfigurationManager(ElasticImageConfigurationManager elasticImageConfigurationManager)
|
void |
setErrorHandler(ErrorHandler errorHandler)
|
void |
setEventManager(com.atlassian.event.EventManager eventManager)
|
void |
setHeartBeatCheckerJobScheduler(HeartBeatCheckerJobScheduler heartBeatCheckerJobScheduler)
|
void |
setInstantMessagingServerManager(InstantMessagingServerManager instantMessagingServerManager)
|
void |
setLocalAgentManager(LocalAgentManager localAgentManager)
|
void |
setPendingBuildResultsCleanup(PendingBuildResultsCleanup pendingBuildResultsCleanup)
|
void |
setPersister(Persister persister)
|
void |
setPlanManager(PlanManager planManager)
|
void |
setPluginManager(com.atlassian.plugin.PluginManager pluginManager)
|
void |
setRemoteAgentManager(RemoteAgentManager remoteAgentManager)
|
void |
setScheduleBackupBean(ScheduleBackupBean scheduleBackupBean)
|
void |
setScheduler(org.quartz.Scheduler scheduler)
|
void |
start()
Start the container's compontents |
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() 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.io.File getBuildDirectory()
getBuildDirectory
in interface Bamboo
public java.util.Collection getErrorMessages()
getErrorMessages
in interface Bamboo
public java.util.Collection getErrorMessages(java.lang.String buildKey)
Bamboo
getErrorMessages
in interface Bamboo
buildKey
- the build to check errors for
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 setBuilderManager(BuilderManager builderManager)
public BuilderManager getBuilderManager()
getBuilderManager
in interface Bamboo
public void setErrorHandler(ErrorHandler errorHandler)
public void setLocalAgentManager(LocalAgentManager localAgentManager)
public void setRemoteAgentManager(RemoteAgentManager remoteAgentManager)
public void setPersister(Persister persister)
public void setBambooUserManager(BambooUserManager bambooUserManager)
public PlanManager getPlanManager()
public void setPlanManager(PlanManager planManager)
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 setEventManager(com.atlassian.event.EventManager eventManager)
public void setInstantMessagingServerManager(InstantMessagingServerManager instantMessagingServerManager)
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 setElasticImageConfigurationManager(ElasticImageConfigurationManager elasticImageConfigurationManager)
public void setElasticFunctionalityFacade(ElasticFunctionalityFacade elasticFunctionalityFacade)
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |