|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Bamboo
This interface provides a simple Facade for accessing Bamboo.
This acts as a uniform API for accessing the system - web actions, soap calls and such like all use this interface.
Field Summary | |
---|---|
static java.lang.String |
BAMBOO_KEY
The key for the Bamboo instance stored in the action's servlet context |
Method Summary | |
---|---|
void |
clearErrorMessages()
deletes all error messages |
AdministrationConfiguration |
getAdministrationConfiguration()
|
java.io.File |
getBuildDirectory()
What is the root build directory? The build directory is where builds are checked out and built. |
BuilderManager |
getBuilderManager()
|
ErrorDetails |
getBuildErrorDetails(java.lang.String buildName,
int errorNumber)
Obtain the errorNumber'th error for the given buildName from the internal system error log |
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()
Obtain all of the system logged error messages |
java.util.Collection |
getErrorMessages(java.lang.String buildName)
Obtain all of the logged error messages associated with a build |
SessionManager |
getSessionManager()
Which session manager is the system using? |
void |
removeBuildErrorFromLog(java.lang.String buildName,
int errorNumber)
Remove the errorNumber'th error for the given buildName from the internal system error log |
void |
restartComponentsFollowingConfigurationChange()
Restart the components that depend on the current system configuration whenever the configuration has been changed. |
void |
start()
Start Bamboo |
void |
stop()
Stop bamboo |
Field Detail |
---|
static final java.lang.String BAMBOO_KEY
Method Detail |
---|
void start() throws java.lang.Exception
java.lang.Exception
void stop()
void restartComponentsFollowingConfigurationChange()
java.io.File getBuildDirectory()
java.util.Collection getErrorMessages()
java.util.Collection getErrorMessages(java.lang.String buildName)
buildName
- the build to check errors for
java.util.Collection<ErrorDetails> getElasticErrorMessages()
void clearErrorMessages()
void removeBuildErrorFromLog(java.lang.String buildName, int errorNumber)
buildName
- The name of the build with the associated errorerrorNumber
- The error number (zero based index of error associated with build)ErrorDetails getBuildErrorDetails(java.lang.String buildName, int errorNumber)
buildName
- The name of the build with the associated errorerrorNumber
- The error number (zero based index of error associated with build)Persister getDefaultPersister()
SessionManager getSessionManager()
BuilderManager getBuilderManager()
AdministrationConfiguration getAdministrationConfiguration()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |