Package com.atlassian.bamboo
Interface Bamboo
- All Known Implementing Classes:
BambooContainer
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
FieldsModifier and TypeFieldDescriptionstatic final StringThe key for the Bamboo instance stored in the action's servlet context -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.since 5.10Deprecated.5.10getBuildErrorDetails(String buildName, int errorNumber) Deprecated.since 5.10Deprecated.since 5.10Deprecated.since 5.10Deprecated.since 5.10getErrorMessages(@NotNull PlanKey planKey) Deprecated.since 5.10getErrorMessagesByAgentId(@NotNull Long agentId) Deprecated.since 5.10Which session manager is the system using?voidremoveBuildErrorFromLog(String buildName, int errorNumber) Deprecated.since 5.10voidDeprecated.since 5.10voidstart(@NotNull javax.servlet.ServletContext servletContext) Start Bamboovoidstop()Deprecated.since 5.10
-
Field Details
-
BAMBOO_KEY
The key for the Bamboo instance stored in the action's servlet context- See Also:
-
-
Method Details
-
start
Start Bamboo- Throws:
Exception
-
stop
Deprecated.since 5.10Stop bamboo -
restartComponentsFollowingConfigurationChange
Deprecated.since 5.10Restart the components that depend on the current system configuration whenever the configuration has been changed. -
getErrorMessages
Deprecated.since 5.10Obtain all of the system logged error messages- Returns:
- the collection of ErrorMessages
-
getErrorMessages
Deprecated.since 5.10Obtain all of the system logged error messages- Returns:
- the collection of ErrorMessages
-
getErrorMessagesByAgentId
Deprecated.since 5.10Obtain the system logged error messages filtered by Agent Id- Parameters:
agentId-- Returns:
- the collection of ErrorMessages
-
getElasticErrorMessages
Deprecated.since 5.10Obtain all of the logged error messages associated with elastic bamboo- Returns:
- the collection of ErrorDetails objects
-
clearErrorMessages
Deprecated.since 5.10deletes all error messages -
removeBuildErrorFromLog
Deprecated.since 5.10Remove the errorNumber'th error for the given buildName from the internal system error log- Parameters:
buildName- The name of the build with the associated errorerrorNumber- The error number (zero based index of error associated with build)
-
getBuildErrorDetails
Deprecated.since 5.10Obtain the errorNumber'th error for the given buildName from the internal system error log- Parameters:
buildName- The name of the build with the associated errorerrorNumber- The error number (zero based index of error associated with build)
-
getDefaultPersister
Deprecated.since 5.10 -
getSessionManager
SessionManager getSessionManager()Which session manager is the system using?- Returns:
- The session manager
-
getAdministrationConfiguration
Deprecated.5.10
-