Deprecated API


Contents
Deprecated Interfaces
com.atlassian.bamboo.build.Artifact
          since 3.0 Use ArtifactDefinitionContext 
com.atlassian.bamboo.build.Build
          since 2.7 as there are no more buildable top level plans 
com.atlassian.bamboo.ww2.aware.permissions.BuildAdminSecurityAware
          Use PlanAdminSecurityAware 
com.atlassian.bamboo.ww2.aware.permissions.BuildEditSecurityAware
          Use PlanEditSecurityAware 
com.atlassian.bamboo.ww2.aware.permissions.BuildExecuteSecurityAware
          Use PlanExecuteSecurityAware 
com.atlassian.bamboo.build.creation.BuildPlanConstructor
          since 2.7. This can only create Build objects and these are no longer supported. There is no direct replacement for this functionality but various implementation of the PlanCreationService may provide the required functionality 
com.atlassian.bamboo.builder.BuildProgressBar
            
com.atlassian.bamboo.ww2.aware.permissions.BuildReadSecurityAware
          Use PlanReadSecurityAware 
com.atlassian.bamboo.results.BuildResults
          since 2.6 use BuildResultsSummary instead. Only use if test results are required. 
com.atlassian.bamboo.resultsummary.ExtendedBuildResultsSummary
          use BuildResultsSummary 
com.atlassian.bamboo.persister.Persister
          This is an old interface. Prefer AdministrationConfigurationManager or PlanManager 
 

Deprecated Classes
com.atlassian.bamboo.event.BambooEventManager
          use EventPublisher 
com.atlassian.bamboo.build.BaseCustomBuildCompleteAction
          since 2.7 please use CustomBuildCompleteAction interface directly to make sure you can handle all buildable 
com.atlassian.bamboo.v2.build.BuildIdentifierHelper
          since 2.7 Please use PlanKeys.getPlanKey(String, String) 
com.atlassian.bamboo.build.creation.BuildPlanConstructorFactory
          since 2.7. This can only create Build objects and these are no longer supported. There is no direct replacement for this functionality but various implementation of the PlanCreationService may provide the required functionality 
com.atlassian.bamboo.build.creation.BuildPlanConstructorImpl
          since 2.7 
com.atlassian.bamboo.builder.BuildProgressBarImpl
            
com.atlassian.bamboo.results.BuildResultsImpl
          since 2.6 use BuildResultsSummary instead. Only use if test results are required. 
com.atlassian.bamboo.build.DefaultArtifact
          since 3.0 
 

Deprecated Fields
com.atlassian.bamboo.utils.SystemProperty.SVN_14_COMPATIBLE
          Use SVN_WC_FORMAT instead default : false 
 

Deprecated Methods
com.atlassian.bamboo.build.artifact.ArtifactLinkManager.addArtifactLink(BuildResultsSummary, String)
          since 3.0 
com.atlassian.bamboo.build.artifact.DefaultArtifactLinkManager.addArtifactLink(BuildResultsSummary, String)
           
com.atlassian.bamboo.ww2.BambooActionSupport.addError(String, String)
          Use ActionSupport.addFieldError(String, String) instead 
com.atlassian.bamboo.ww2.BambooActionSupport.addErrorMessage(String)
          Use ActionSupport.addActionError(String) instead 
com.atlassian.bamboo.build.StopBuildManager.cancelAllBuilds(String, boolean)
          use StopBuildManager.cancelAllBuilds(PlanKey, boolean) 
com.atlassian.bamboo.build.StopBuildManager.cancelBuild(String, boolean)
          use StopBuildManager.cancelBuild(PlanResultKey, boolean) 
com.atlassian.bamboo.notification.NotificationManager.createNotificationRuleFromAction(String, String, Map, boolean)
          since 2.7 use the other createNotificationRuleFromAction method instead 
com.atlassian.bamboo.notification.NotificationManagerImpl.createNotificationRuleFromAction(String, String, Map, boolean)
           
com.atlassian.bamboo.v2.build.BaseConfigurablePlugin.customizeBuildRequirements(BuildConfiguration, RequirementSet)
          since 3.0 Use #customizeBuildRequirements(Plan, BuildConfiguration, RequirementSet) 
com.atlassian.bamboo.author.ExtendedAuthorManager.findBuildResultsBrokenByAuthor(ExtendedAuthor)
          use the method with limited result count instead 
com.atlassian.bamboo.author.HibernateAuthorManagerImpl.findBuildResultsBrokenByAuthor(ExtendedAuthor)
           
com.atlassian.bamboo.author.ExtendedAuthorManager.findBuildResultsFailedByAuthor(ExtendedAuthor)
          use the method with limited result count instead 
com.atlassian.bamboo.author.HibernateAuthorManagerImpl.findBuildResultsFailedByAuthor(ExtendedAuthor)
           
com.atlassian.bamboo.author.ExtendedAuthorManager.findBuildResultsFixedByAuthor(ExtendedAuthor)
          use the method with limited result count instead 
com.atlassian.bamboo.author.HibernateAuthorManagerImpl.findBuildResultsFixedByAuthor(ExtendedAuthor)
           
com.atlassian.bamboo.author.ExtendedAuthorManager.findBuildResultsSuccessfulByAuthor(ExtendedAuthor)
          use the method with limited result count instead 
com.atlassian.bamboo.author.HibernateAuthorManagerImpl.findBuildResultsSuccessfulByAuthor(ExtendedAuthor)
           
com.atlassian.bamboo.resultsummary.BuildResultsSummaryDao.findBuildResultsSummaries(BuildResultsSummaryCriteria)
          use findResultsSummaries 
com.atlassian.bamboo.author.ExtendedAuthorManager.findBuildResultsTriggeredByAuthor(ExtendedAuthor)
          use the method with limited result count instead 
com.atlassian.bamboo.author.HibernateAuthorManagerImpl.findBuildResultsTriggeredByAuthor(ExtendedAuthor)
           
com.atlassian.bamboo.resultsummary.BuildResultsSummaryDao.findLastBuildResultBefore(String, int)
          use BuildResultsSummaryDao.findLastResultBefore(String, int, Class) 
com.atlassian.bamboo.author.ExtendedAuthorManager.generateOrRetrieveAuthorFromCommit(Commit, String)
          use ExtendedAuthorManager.createAndSaveAuthor(String) when creating one or AuthorManager.getAuthorByName(String) when retrieving 
com.atlassian.bamboo.caching.DashboardCachingManager.getAllChains()
          since 3.0, use getAllTopLevelPlans() 
com.atlassian.bamboo.repository.perforce.PerforceRepository.getAllSourceCode(Build)
           
com.atlassian.bamboo.repository.RepositoryManager.getAuthenticationTypes()
          since 2.7 - handle this in your own repository. 
com.atlassian.bamboo.repository.DefaultRepositoryManager.getAuthenticationTypes()
           
com.atlassian.bamboo.utils.Comparators.getBuildDateComparator()
          since 3.0 use Comparators.getBuildDateOrdering() 
com.atlassian.bamboo.build.BuildLoggerManager.getBuildLogger(String)
          since 2.6 Use BuildLoggerManager.getBuildLogger(PlanKey) or BuildLoggerManager.getBuildLogger(PlanResultKey) instead 
com.atlassian.bamboo.v2.build.BuildContext.getBuildPlanDefinition()
          since 2.7 use #getBuildDefinition 
com.atlassian.bamboo.v2.build.BuildIdentifierHelper.getBuildResultKey(String, int)
          since 2.7 use PlanKeys.getPlanResultKey() 
com.atlassian.bamboo.author.AuthorHibernateDao.getBuildResultsBrokenByAuthor(ExtendedAuthor)
           
com.atlassian.bamboo.author.AuthorDao.getBuildResultsBrokenByAuthor(ExtendedAuthor)
          use the version with limited result count instead 
com.atlassian.bamboo.author.AuthorHibernateDao.getBuildResultsFailedByAuthor(ExtendedAuthor)
           
com.atlassian.bamboo.author.AuthorDao.getBuildResultsFailedByAuthor(ExtendedAuthor)
          use the version with limited result count instead 
com.atlassian.bamboo.author.AuthorHibernateDao.getBuildResultsFixedByAuthor(ExtendedAuthor)
           
com.atlassian.bamboo.author.AuthorDao.getBuildResultsFixedByAuthor(ExtendedAuthor)
           
com.atlassian.bamboo.builder.resultsfilter.TimeAgoBuildResultsFilter.getBuildResultsForBuild(Buildable)
           
com.atlassian.bamboo.builder.resultsfilter.Latest25FiveBuildResultsFilter.getBuildResultsForBuild(Buildable)
           
com.atlassian.bamboo.builder.resultsfilter.BuildResultsFilter.getBuildResultsForBuild(Buildable)
           
com.atlassian.bamboo.builder.resultsfilter.AllBuildResultsFilter.getBuildResultsForBuild(Buildable)
           
com.atlassian.bamboo.author.AuthorHibernateDao.getBuildResultsSuccessfulByAuthor(ExtendedAuthor)
           
com.atlassian.bamboo.author.AuthorDao.getBuildResultsSuccessfulByAuthor(ExtendedAuthor)
          use the version with limited result count instead 
com.atlassian.bamboo.results.BuildResults.getBuildResultsSummary()
          since 2.7 please use {@link ResultsSummaryManager#getResultsSummary) to look up the build result summary instead 
com.atlassian.bamboo.resultsummary.BuildResultsSummaryManager.getBuildResultsSummary(Build, int)
          use BuildResultsSummaryManager.getBuildResultsSummary(PlanResultKey) 
com.atlassian.bamboo.resultsummary.BuildResultsSummaryDao.getBuildResultsSummaryByBuildKeyAndBuildNumber(String, int)
          use ResultsSummaryManager.getResultsSummary(PlanResultKey, Class) 
com.atlassian.bamboo.author.AuthorDao.getBuildResultsTriggeredByAuthor(ExtendedAuthor)
          use the version with limited result count instead 
com.atlassian.bamboo.v2.build.CurrentlyBuilding.getBuildTime()
          use getElapsedTime() 
com.atlassian.bamboo.build.fileserver.BuildDirectoryManager.getBuildWorkingDirectory()
          since 3.0 please use $BuildDirectoryManager.getWorkingDirectoryOfCurrentAgent() 
com.atlassian.bamboo.build.fileserver.BuildDirectoryManager.getBuildWorkingDirectory(String)
          since 3.0 please use $BuildDirectoryManager.getBuildWorkingDirectory(PlanKey) 
com.atlassian.bamboo.build.fileserver.DefaultBuildDirectoryManager.getBuildWorkingDirectory(String)
          since 3.0 use getBuildWorkingDirectory(PlanKey) 
com.atlassian.bamboo.caching.DashboardCachingManager.getChain(String)
          since 3.0, use $DashboardCachingManager.getPlan(PlanKey) 
com.atlassian.bamboo.command.Command.getCommandLine(ReadOnlyCapabilitySet)
           
com.atlassian.bamboo.build.BuildStatusHelper.getCountFailingSince()
          since 2.7 use getPrecedingConsecutiveFailuresCount instead, note that it does not include the current result 
com.atlassian.bamboo.results.BuildResults.getCustomBuildData()
          replaced by custom data stored in BuildResults.getBuildResultsSummary() 
com.atlassian.bamboo.utils.Comparators.getDescriptionProviderComparator()
          since 3.0 use Comparators.getDescriptionProviderOrdering() 
com.atlassian.bamboo.Bamboo.getErrorMessages(String)
          since3.0. Not type-safe. Use getErrorMessages(PlanKey). 
com.atlassian.bamboo.container.BambooContainer.getErrorMessages(String)
          since 3.0. Not type safe. Use getErrorMessages(PlanKey) 
com.atlassian.bamboo.logger.ErrorHandler.getErrors(String)
          since 3.0 Use type-safe ErrorAccessor API. 
com.atlassian.bamboo.logger.DefaultErrorHandler.getErrors(String)
          since 3.0 
com.atlassian.bamboo.v2.build.agent.capability.CapabilitySetManager.getExecutableBuilds(ReadOnlyCapabilitySet)
          since 2.7 use getExecutableBuildables 
com.atlassian.bamboo.v2.build.agent.capability.CapabilitySetManagerImpl.getExecutableBuilds(ReadOnlyCapabilitySet)
           
com.atlassian.bamboo.resultsummary.ResultsSummary.getFailedTestCount()
           
com.atlassian.bamboo.resultsummary.AbstractResultsSummary.getFailedTestCount()
           
com.atlassian.bamboo.results.BuildResults.getFailedTestResults()
           
com.atlassian.bamboo.filter.CompressingFilter.getFilterConfig()
          Not needed in latest version of Servlet 2.3 API. NOTE: Filter doesn't work with Orion 1.5.2 without this method 
com.atlassian.bamboo.ww2.BambooActionSupport.getFormattedErrorMessages()
          use #getFormattedActionErrors 
com.atlassian.bamboo.resultsummary.BuildResultsSummaryManager.getLastBuildSummary(String)
          since 2.7 use ResultsSummaryManager.getLastResultsSummary(String, Class) 
com.atlassian.bamboo.resultsummary.ResultsSummaryManager.getLastNBuildResultsSummaries(Buildable, int)
          since 2.7 use getLastNResultsSummaries instead 
com.atlassian.bamboo.resultsummary.BuildResultsSummaryManagerImpl.getLastNBuildResultsSummaries(Buildable, int)
           
com.atlassian.bamboo.resultsummary.BuildResultsSummaryManagerImpl.getLastOrNBuildResultsSummary(Build, String)
           
com.atlassian.bamboo.resultsummary.BuildResultsSummaryManager.getLastSuccessfulBuildSummary(String)
          use getLastSuccessfulResultSummary 
com.atlassian.bamboo.resultsummary.BuildResultsSummaryManager.getLatestbuildResultSummaries()
          since 2.7 use ResultsSummary.getLatestResultSummaries() 
com.atlassian.bamboo.resultsummary.BuildResultsSummaryManagerImpl.getLatestbuildResultSummaries()
           
com.atlassian.bamboo.resultsummary.BuildResultsSummaryManager.getLatestFailedBuildResultSummaries()
          since 2.7 use ResultsSummary.getLatestFailedResultSummaries() 
com.atlassian.bamboo.resultsummary.BuildResultsSummaryManagerImpl.getLatestFailedBuildResultSummaries()
           
com.atlassian.bamboo.results.BuildResultsImpl.getMyArtifacts()
           
com.atlassian.bamboo.utils.Comparators.getNameProviderCaseInsensitiveComparator()
          since 3.0 use Comparators.getNameProviderCaseInsensitiveOrdering() 
com.atlassian.bamboo.utils.Comparators.getNameProviderComparator()
          since 3.0 use Comparators.getNameProviderOrdering() 
com.atlassian.bamboo.caching.DashboardCachingManager.getPlan(String)
          since 3.0, use $DashboardCachingManager.getPlan(PlanKey) 
com.atlassian.bamboo.v2.build.BuildIdentifierHelper.getPlanKey(String, String)
          since 2.7 use PlanKeys.getPlanKey() 
com.atlassian.bamboo.utils.Comparators.getPlanNameResultComparator()
          since 3.0 use Comparators.getPlanNameResultOrdering() 
com.atlassian.bamboo.build.BuildDefinition.getPollingPeriod()
          since 2.5 use PollingBuildStrategy's polling period 
com.atlassian.bamboo.v2.build.BuildPlanDefinition.getRepository()
          use BuildPlanDefinition.getRepositoryV2() instead 
com.atlassian.bamboo.utils.Comparators.getResultsSummaryNumberComparator()
          since 3.0 use Comparators.getResultsSummaryNumberOrdering() 
com.atlassian.bamboo.resultsummary.ResultsSummary.getSuccessfulTestCount()
           
com.atlassian.bamboo.resultsummary.AbstractResultsSummary.getSuccessfulTestCount()
           
com.atlassian.bamboo.results.BuildResultsImpl.getTestResults()
           
com.atlassian.bamboo.results.BuildResults.getTestResults()
           
com.atlassian.bamboo.buildqueue.PipelineDefinition.getType()
          Only for FreemarkerTemplates. Instead use PipelineDefinitionVisitor and PipelineDefinition.accept(PipelineDefinitionVisitor) 
com.atlassian.bamboo.builder.AntBuilder.getUrl()
          assume we are not using these anymore - andy? 
com.atlassian.bamboo.repository.RepositoryManager.getVersionTypes()
          since 2.7 - handle this in your own repository. 
com.atlassian.bamboo.repository.DefaultRepositoryManager.getVersionTypes()
           
com.atlassian.bamboo.user.BambooUserManager.injectUser(String, String, String, String, String, String, String, String)
          use injectUser(BambooUser) 
com.atlassian.bamboo.build.BuildExecutionManager.isAllowBuilding(String)
          since 2.7, please use PlanExecutionManager.isAllowBuilding 
com.atlassian.bamboo.security.BambooPermissionManager.isEnableAnonymousAccess()
           
com.atlassian.bamboo.security.BambooPermissionManagerImpl.isEnableAnonymousAccess()
           
com.atlassian.bamboo.build.Buildable.isInBuildQueue()
          use isActive 
com.atlassian.bamboo.plan.PlanManager.narrow(Plan, Class)
          since 2.7 please use Narrow.to instead. 
com.atlassian.bamboo.plan.PlanManagerImpl.narrow(Plan, Class)
           
com.atlassian.bamboo.util.BambooCollectionUtils.newArrayList(Iterable, Comparator)
          since 3.0 use Ordering.sortedCopy 
com.atlassian.bamboo.util.BambooCollectionUtils.newLinkedList(Iterable, Comparator)
          since 3.0 use Ordering.sortedCopy 
com.atlassian.bamboo.v2.build.BaseConfigurablePlugin.removeBuildRequirements(BuildConfiguration, RequirementSet)
          since 3.0 Use #removeBuildRequirements(Plan, BuildConfiguration, RequirementSet) 
com.atlassian.bamboo.resultsummary.BuildResultsSummaryManager.removeBuildResultsSummariesForBuild(Build)
          use ResultsSummaryManager#scheduleResultsSummariesForDelayedDeletion(Plan) 
com.atlassian.bamboo.resultsummary.BuildResultsSummaryManagerImpl.removeBuildResultsSummariesForBuild(Build)
           
com.atlassian.bamboo.resultsummary.BuildResultsSummaryHibernateDao.removeBuildResultsSummary(BuildResultsSummary)
           
com.atlassian.bamboo.resultsummary.BuildResultsSummaryDao.removeBuildResultsSummary(BuildResultsSummary)
          since 2.7 - use removeResultsSummary 
com.atlassian.bamboo.caching.DashboardCachingManager.removePlanFromCache(String)
          since 3.0 us $DashboardCachingManager.removePlanFromCache(PlanKey) 
com.atlassian.bamboo.v2.build.repository.RepositoryV2.retrieveSourceCode(String, String)
            
com.atlassian.bamboo.resultsummary.BuildResultsSummaryManager.saveBuildResultsSummary(BuildResultsSummary)
          use ResultsSummaryManager.saveResultSummary(ResultsSummary) 
com.atlassian.bamboo.instantmessagingserver.InstantMessagingServerManager.sendMessage(InstantMessagingServerDefinition, Set, String)
          - use BambooSmackClient 
com.atlassian.bamboo.instantmessagingserver.InstantMessagingServerManagerImpl.sendMessage(InstantMessagingServerDefinition, Set, String)
          Use BambooSmackClient.send(Message) instead 
com.atlassian.bamboo.ww2.BambooActionSupport.setErrorMessages(Collection)
          Use ActionSupport.setActionErrors(Collection) instead 
com.atlassian.bamboo.results.BuildResultsImpl.setFailedTestResults(List)
           
com.atlassian.bamboo.results.BuildResults.setFailedTestResults(List)
           
com.atlassian.bamboo.filter.CompressingFilter.setFilterConfig(FilterConfig)
          Not needed in latest version of Servlet 2.3 API - replaced by init(). NOTE: Filter doesn't work with Orion 1.5.2 without this method 
com.atlassian.bamboo.migration.BambooStAXMappingListHelperAbstractImpl.setListImportStrategy(BambooStAXListImportStrategy)
           
com.atlassian.bamboo.results.BuildResultsImpl.setMyArtifacts(Map)
           
com.atlassian.bamboo.results.BuildResults.setMyArtifacts(Map)
           
com.atlassian.bamboo.build.BuildDefinition.setPollingPeriod(int)
          since 2.5 use PollingBuildStrategy's polling period 
com.atlassian.bamboo.build.BuildDefinition.setWorkingDirectory(String)
            
com.atlassian.bamboo.caching.DashboardCachingManager.updatePlanCache(String)
          since 3.0 us $DashboardCachingManager.updatePlanCache(PlanKey) 
 

Deprecated Constructors
com.atlassian.bamboo.migration.stream.AbstractPlanMapper(SessionFactory, Project, Map, Map, NotificationManager)
           
com.atlassian.bamboo.plan.artifact.ArtifactDefinitionContextImpl(String)
          since 3.0. Use ArtifactDefinitionContextImpl.ArtifactDefinitionContextImpl(String, boolean) 
 



Copyright © 2011 Atlassian. All Rights Reserved.