-
InterfaceDescriptionsince 5.8since 5.8since 5.8since 3.3 use
AgentManager
insteadsince 9.5, the functionality is no longer supported and may be removed in the future.since 6.1 without replacementsince 5.0. UseAdministrationConfigurationPersister
andAdministrationConfigurationAccessor
insteadfor removal since 8.1.0. It doesn't work correctly with Docker or Per-Build-Container agent capabilities. It's better not to use it at Bamboo Specs exporters.since 8.2 use DB services instead.since 8.2since 8.2. UseDeploymentVersion
since 8.2 useDeploymentVersionService
this should only be used internally and only until DeploymentVersionDto is replacedsince 5.6 useHibernateEventListenerAspect
since 5.11 useArtifactDirectoryBuilder
insteadsince 8.0.0 without replacement. App vendors should use ActiveObjects, QueryDSL or Bandana API to keep data required for reports or app functionality.since 7.2.0 without replacement. App vendors should use ActiveObjects or QueryDSL to keep data required for reports or app functionality.since 7.2.0 without replacement.since 7.2.0 without replacement. App vendors should use ActiveObjects or QueryDSL to keep data required for reports or app functionality.since 5.14useBranchInformationProvider
instead.since 5.14since 5.14since 5.14since 5.14 usePlanRepositoryDefinition
since 5.14 useVcsRepositoryManager
since 5.14since 2.6 useBuildResultsSummary
instead. Only use if test results are required.since 2.7 use ResultsSummaryManager insteadsince 5.15 without replacementsince 5.11, builder to task conversion was used in Bamboo 3.0 and backward compatibility with 3.0 was dropped, your plugin doesn't need this converter anymoresince 6.2 useImmutableRequirementSet
Since v5.0. If you were using this, it wasn't doing anything anyway. Just remove.since 5.15since 5.14 the purpose of this interface is to support exotic repository types.since 5.14since 5.14 useVcsRepositoryViewerManager
-
ClassDescriptionsince 3.3since 5.14 new repositories will not have this nonsensesince 5.3, use
SystemAuthorityThreadFactory
since 6.5 useAlwaysInvalidatingCacheDecorator
avoidsince 5.10 useAtomicUtils
insteadsince 6.5 useBambooLocks
since 5.10 use HibernateBambooEntityObject. Exists only to change the default id to -1 (for backward compatibility).since 3.3 useBambooSmackClient.send(Message)
since 5.8since 6.5 use @Enumerated(EnumType.STRING) insteadshould be removed when we no longer support import from 8.0.0since 6.9 without replacement. Just perform the operation directly.since 5.12 with not replacement.since 7.0 as it implements deprecated interface, usePredicate.and(Predicate)
instead.since 6.8 prefer the use of constructors for providing backward compatibility between new and old platformsince 5.14 use new repository plugin API insteadsince 5.14 useVcsRepositoryDataImpl
since 5.14 useRepositoryDefinitionImpl
since 5.9 usecom.atlassian.bamboo.rest.common.adapters.ISO8601DateAdapter
since 2.6 useBuildResultsSummary
instead. Only use if test results are required.since 3.3since 6.5 useThreadScopedCaches
insteadsince 5.15 useSecretEncryptionService
since 5.10 use proper Spring injection instead of this class.since 5.11, builder to task conversion was used in Bamboo 3.0 and backward compatibility with 3.0 was dropped, your plugin doesn't need this converter anymoresince 5.10 use lambda insteadsince 5.10 use lambda insteadsince 4.4 note: move BambooUnicodeUtils when this class is gonesince 9.3 for use of log4j 2 API. UseBambooLog4j2Utils
since 6.3 useDuration
insteadthis class should be used ONLY when you need a lazy reference that will go through Bamboo's serialization whitelist/blacklist frameworkthis class should be used ONLY when you need a lazy reference that will go through Bamboo's serialization whitelist/blacklist frameworkuseSimpleErrorCollection
insteadsince 6.7 useBambooFileVisitor
and a glob pattern insteadsince 6.8, useMatcher.matches(Object)
method reference directlyonly for internal usesince 10.0since 9.3 not really related to actual VCS operationssince 8.0 useOutOfBandBuildTimingPoints.AgentAssigned
since 9.3 not really related to actual VCS operationssince 5.14 it implements old interfaceuse LegacyStashWebRepositoryViewer from new Stash pluginsince 3.3 useBambooSmackClient.send(Message)
-
Enum ClassDescriptionsince 9.5, the only type ever used is BAM_ARTIFACT.since 7.2.0, now should be used
VcsRepositoryConfigurationService.RepositoryAccess
-
FieldDescriptionsince 4.3: used only for conversionsince 6.1since 5.9since Bamboo 6.2, use reference to
PlanKeyProvider.getPlanKey()
since 6.8 should only use v2.0 api. UseBitbucketProperty.getBitbucketApiBaseUrl()
since 5.10 use method reference toStashTriggerConfigurator.isActiveStashTrigger(TriggerDefinition)
since 6.8 inject your ownsince 6.8 inject your ownsince 6.8 inject your ownsince 6.8 inject your ownsince 6.8 inject your ownsince 6.8 inject your ownsince 6.8 inject your ownsince 3.3 repository definition is no longer part ofBuildConfiguration
since 5.11, useRestScheduledJob()
as function referencesince 5.0 please use max-result instead.since 5.7 useTestQuarantineHelper
insteadsince 6.8 inject your own instancesince 6.8 inject your own instancesince 6.0, useTaskConfigConstants.CFG_WORKING_SUBDIRECTORY
since 5.8since 5.8since 5.8since 5.8since 5.8since 5.8since 5.8since 4.2.1 useAdministrationConfiguration.getRepositorySettings()
- Default : 1.6
- Usage:
- env : bamboo.svn.wc.format="String"
- java: -Dbamboo.svn.wc.format="String"
since 6.8 inject your own instancesince 5.1since 5.1since 5.1since 5.1since 5.0
-
MethodDescriptionsince 5.14 use
ScheduledJob.getJobKey()
insteadsince 5.14 useScheduledJob.getJobKey()
insteadsince 6.1, provided for compatibility with old code onlywithout replacement; this is temporary solutionsince 5.8 useElasticImageConfiguration.setAvailabilityZones(Iterable)
com.atlassian.bamboo.agent.elastic.server.ElasticImageConfiguration.setInstanceType(EC2InstanceType) since 5.11 useElasticImageConfiguration.setInstanceTypes(Iterable)
insteadsince 5.8, useElasticImageConfiguration.setSubnetIds(Iterable)
since 10.1, useEphemeralAgentExecutionService.launch(List, CommonContext)
}since 5.11 with no replacementsince 6.10, useApplinkPredicates.entityLinkKeyEqual(String)
}since 6.10, useReadOnlyApplicationLink.isPrimary()
method referencesince 6.10, useReadOnlyApplicationLink.isPrimary()
method referencesince 5.4 use @{link ImpersonationHelper} insteadsince 6.8 useAuthorDao.unlinkLinkedAuthors(String)
since 6.7 useAmazonClientsFactory.newS3Client(AWSCredentials)
since 5.105.10since 5.10since 5.10since 5.10since 5.10since 5.10since 5.10since 5.10since 5.10since 5.10since 6.9 usePlanAwareBandanaContext.forPlugin(long, long, Plugin)
since 9.4.0 useBambooClusterNodeHeartbeatService.findLiveNodes()
insteadsince 9.4.0 useClusterNodeHeartbeatDao.findAllNodesInfo()
since 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionsince 5.7 useArtifact.getLabel()
since 5.7 useArtifact.isSharedArtifact()
since 9.1 useArtifactManager.removeArtifactsFromStorage(PlanKey, Map)
since 6.9 useBuildResultsAction.getImmutableChain()
since 4.4since 5.1since 5.1since 4.0 use @{link #createJobAndBranches}since 4.0 use @{link #createJobAndBranches}since 6.9. UsePlanCreationTemplate.saveAndUpdateParents(PlanCreationBean)
since 5.7 refer toBuildExpiryConfig.getLabelsList()
since 6.7since 2.7 useAllBuildResultsFilter.getResultsForPlan(ImmutablePlan)
insteadsince 2.7 useBuildResultsFilter.getResultsForPlan(ImmutablePlan)
insteadsince 2.7since 2.7since 9.2, useAgentDao.findAgentsByName(String)
insteadsince 9.2, useAgentManager.getAgentDefinitionsByName(String)
insteadsince 9.3 no longer using separate collections for each unmatched agent type. Use#addRequirementWithNoMatches(ImmutableRequirement)
insteadsince 9.3 no longer using separate collections for each unmatched agent type. Use#addRequirementWithNoMatches(ImmutableRequirement)
insteadsince 9.4.0since 9.4.0since 6.8 use constructor injection or annotation injectionsince 5.13 useChain.addStage(ChainStage)
since 5.12 wire the bean through Spring insteadsince 5.12 wire the bean through Spring insteadsince 6.8 use constructor injection or annotation injectionsince 5.7since 5.7since 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionsince 5.7 use #getCloverArtifacts() and #getCloverReportUrl(Artifact) to handle more than one report in a buildsince 5.7 use #getCloverArtifacts() and #getTimestamp(Artifact) to handle more than one report in a builduse #getCloverArtifacts() and #getTimestamp(Artifact) to handle more than one report in a buildsince 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionsince 6.6 useCommentManager.getEntityCommentCountNoTx(long)
insteadsince 5.0 use deleteComment(comment)since 6.1 useCommitContextImpl.Builder.file(String, String, String)
since 8.0. UseCommitFile.getName()
insteadsince 5.6 use helper method AdministrationConfigurationImpl.setBuildExpiryConfigsince 6.0. UseBandanaManager
for key-value storage.since 6.6.0. Use GroupManager.isCreative() instead.since 6.0. UseBandanaManager
for key-value storage.since 6.0 useYamlHelper.dumpToYmlFile(EntityPropertiesBuilder, File, String)
insteadValidates exported linked repository properties within Bamboo context (e.g. verifying database integrity), then imports the data into the database.since 8.0 as it doesn't check project repository access useRssPermissions.isRepositoryAllowed(VcsRepositoryData)
since 6.7 useInetAddressBean.getLocalHostAddress()
insteadsince 9.0since 6.3, useSystemProperty.REPOSITORY_STORED_SPECS_SECURITY_MANAGER_ENABLED
insteadsince 5.3 UseIndexerManager#getEstimatedReindexTime
since 8.2 this method does not return project Credentials, so the name is confusing. useCredentialsAccessor.getGlobalCredentials()
since 8.2 this method does not return project Credentials, so the name is confusing. useCredentialsAccessor.getGlobalCredentials()
since 10.0 returns falsesince 6.2 useDeletionService.deletePlan(ImmutablePlan)
insteadsince 6.2 useDeletionService.deleteStage(ImmutableChainStage)
insteadsince 9.6 useDeletionService.executeDelayedDeletion()
insteadsince 8.1. UseCustomEnvironmentConfigPluginExporter.fromYaml(String, Node)
.since 9.1 use paginated versionEnvironmentService.getAllInternalEnvironmentsNoUserContext(int, int)
since 9.3, avoid due to poor performance, useEnvironmentService.getAllInternalEnvironmentsNoUserContext(int, int)
9.2, the method does not take into account the agent's assignments, useEnvironmentService.getEnvironmentsMatchingCapabilities(int, int, String, ReadOnlyCapabilitySet, Iterable)
insteadsince 9.3 due to poor performance, useEnvironmentServiceHelper.applyConsumerToAllInternalEnvironmentsNoUserContext(EnvironmentService, Consumer)
insteadsince 5.10since 5.10, use method reference toDeploymentResult.getDeploymentVersion()
since 9.5, it's always artifactsince 9.5. No-op.since 5.4since 5.10 avoid due to performance. ConsiderDeploymentResultDao.getDeploymentResultIdsForDeploymentVersionFinishedBefore(long, Date)
instead.since 5.10 on account of it potentially consuming lots of memory. ConsiderDeploymentResultService.getDeploymentResultIdsForDeploymentVersionFinishedBefore(long, Date)
instead.since 6.7 for performance reasons useDeploymentResultService.getDeploymentResultsForEnvironmentWithoutVariables(long, int, int)
since 6.7 for performance reasons useDeploymentResultService.getDeploymentResultsForEnvironmentWithoutVariables(long, int, int)
since 6.8 for performance reasons useDeploymentResultService.getLatestKnownDeploymentResultForEnvironmentsInProject(DeploymentProject)
since 9.4 useDeploymentVersion.getVersionStatuses()
insteadsince 5.14since 9.5, it's always artifactsince 9.4 useDeploymentVersionDao.getAllUsersLatestVersionStatusDtosOrderedByCreationDate(long)
insteadsince 9.4 useDeploymentVersionDao.getAllUsersLatestVersionStatusDtosOrderedByCreationDate(List<Long>)
insteadsince 6.8 as it fetches variables, which is not efficient. UseDeploymentVersionService.findVersionsBetweenNoVariables(long, DeploymentVersion, DeploymentVersion)
instead.since 6.7 for performance reasons useDeploymentVersionService.getDeploymentProjectVersionsNoVariables(DeploymentProject)
since 9.4 useDeploymentVersionService.getAllUsersLatestVersionStatusDtosOrderedByCreationDate(long)
insteadsince 6.7 for performance reasons useDeploymentVersionService.searchVersionsByBranchNoVariables(DeploymentProject, PlanKey)
since 6.7 for performance reasons useDeploymentVersionService.searchVersionsByNameNoVariables(DeploymentProject, String)
since 6.7 for performance reasons useDeploymentVersionService.searchVersionsByNameNoVariables(DeploymentProject, String)
since 9.3 not really related to actual VCS operationssince 10.0 always truesince 7.1, always truesince 10.0 always truesince 8.0 returns false alwayssince 10.0 always onsince 6.5 useJiraIssueHelper.findIssueKeysInText(String, boolean)
insteadsince 6.5 useJiraIssueHelper.findIssueKeysInText(String, boolean)
insteadsince 6.10, useJiraIssueDetails.getIssueKey()
directlysince 6.10, useInternalLinkedJiraIssue.getIssueKey()
directlysince 6.10, useInternalLinkedJiraIssue.getIssueType()
directlysince 6.5 useJiraIssueUtils.findPotentialIssueKeys(String, boolean, Pattern, Pattern)
insteadsince 10.0, useJiraRestResponse.JiraRestResponseBuilder.entity(JsonObject)
since 5.5, useErrorDetails.getEntityKey()
since 5.5, useErrorDetails.getResultKey()
since 6.5, useErrorDetails.getResultNumberLong()
since 5.5since 5.5since 6.4 old repository interfacesince 6.4 old repository interfacesince 10.0since 6.3 without replacementsince 5.10, useDeploymentsControl.deleteDeploymentProject(String)
since 5.10, usePlansControl.createBranch(PlanKey, String, String)
since 5.10, usePlansControl.createBranch(PlanKey, String, String)
since 5.9, use backdoor.plans().triggerBuildAndAwaitSuccess(PlanKey)com.atlassian.bamboo.pageobjects.helpers.PlanHelper.runPlanAndWaitForSuccessfulResult(PlanResultKey) since 5.9, use backdoor.plans().triggerBuildAndAwaitSuccess(PlanKey)since 5.9, use backdoor.plans().waitForSuccessfulBuild(PlanKey, int)since 5.13, useAbstractVcsComponent.saveUpdate()
since 5.12, use session objects directlysince 5.12, use session objects directlysince 5.8since 5.8since 5.12, useHibernateDaoUtils.saveOrUpdateAll(Session, Iterable)
since 5.12, useHibernateDaoUtils.saveOrUpdate(Session, BambooObject)
since 5.12, useHibernateTemplate.execute(HibernateCallback)
since 5.12, use Java 8 features insteadsince 7.0 useAuditLogDao.getGlobalAuditLogMessages(int, int)
used only in testssince 5.0 usePersister.getAdministrationConfiguration(com.atlassian.bamboo.FeatureManager)
insteadsince 9.0 useArtifactDefinitionBase.setCopyPatterns(List)
since 9.0 useImmutableArtifactDefinitionBase.getCopyPatterns()
insteadsince 6.0. UseBranchIntegrationConfiguration.getIntegrationPoint()
.since 6.0. Use {BranchIntegrationServiceImpl.getIntegrationRepository(ImmutablePlan)
}.since 6.1, useBranchMonitoringConfiguration.getPlanBranchWorkflow()
com.atlassian.bamboo.plan.branch.BranchMonitoringConfiguration.setPlanBranchCreationEnabled(boolean) since 6.9since 5.14 useVcsBranchManager.createAll(ImmutableChain, Iterable)
since 5.14 useVcsBranchManager.createAll(Iterable)
UsePlanIdentifier.getPlanType()
instead. Since v4.0.since 4.0 useChainExecutionAccessor.isActive(PlanKey)
since 4.0 usePlanExecutionManager.isBusy(PlanKey)
since 6.10 useChainExecutionAccessor.isExecuting(PlanKey)
since 5.10since 5.10since 6.2 useFilteringPlanManager.getBranchesOfChain(PlanKey)
instead. Remember about sorting it for UI.since 5.11 this method warms the whole cache. Use it very carefully. Avoid it in core Bamboo.3.4since 6.3 use method reference toPlanClassHelper.isTopLevelPlan(ImmutablePlan)
since 6.9 usePlanIdentifier.getMasterIdIfExists()
insteadsince 4.2since 4.2since 4.2since 8.2useAbstractBambooModuleDescriptor.preInit(Object)
insteadsince 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionuseGitHubRepositoryAccessData.getVcsBranch()
insteadsince 7.1, jgit is deprecatedsince 7.1, jgit is deprecatedsince 7.1 applies to local agents as well, useGitRepositoryAccessData.isUseAgentCache()
insteadsince 6.0 useAbstractGitExecutor.getCachePath(GitRepositoryAccessData)
insteadsince 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionsince 6.2 useRestConversionFunction.toFunction(Expansion, UriInfo)
.since 5.11 use the constructorsince 8.1 does not support key formats other than PEMsince 5.14since 5.14since 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionUnsupported operation - useQuickFilterDao.create(QuickFilter)
orQuickFilterDao.update(QuickFilter, int)
instead.Unsupported operation - useQuickFilterDao.create(QuickFilter)
orQuickFilterDao.update(QuickFilter, int)
instead.since 5.5 useStandaloneRepository.getAdvancedViewHtml()
since 5.14since 5.14since 5.5 useStandaloneRepository.getViewHtml()
since 6.8 use constructor injection or annotation injectionsince 4.3since 4.3since 5.14 useRepositoryDefinitionManager.getLinkedRepositories()
since 5.14since 5.14since 5.15, useBambooPluginUtils.pluginKeyEquals(String)
since 6.3, useRestSecuritySettings.isSoxComplianceModeEnabled()
since 6.0 usePost.setRequestBody(byte[], ContentType)
insteadsince 9.0 usePut.setRequestBody(byte[], ContentType)
insteadsince 6.5, useResultKey.getResultNumberLong()
replaced by custom data stored inBuildResultsSummary
since 5.9 without replacementsince 4.3internal use onlysince 4.3since 5.15 for internal use only, useResultsSummaryVariableAccessor
insteadsince 5.15 without replacement, returns empty list for any result created by Bamboo 5.15 or latersince 5.7 for internal use only, useResultsSummaryVariableAccessor
insteadsince 3.3since 4.3, useImmutableResultsSummary.getPlanKey()
since 4.3, useImmutableResultsSummary.getPlanResultKey()
returns empty list for any result created with version 5.7 or laterinternal use onlysince 8.2.0. UseResultsSummaryManager.getLastNResultsSummaries(PlanIdentifier, int)
since 9.5since 8.1 use {TestClass.getTestCaseCollection()
} instead.since 6.9 returns immutable list useTestClassResult.getTestCaseResultsSet()
since 6.8 useTestState.getDisplayNameKey()
and resolve itsince 6.8 inject your owninternal use onlysince 3.3 only used by export/importsince 3.3 only used by export/importsince 3.3 only used by export/importsince 6.2 useAclDao.findAcls(ObjectIdentity)
since 6.2 usePlanPermissionsService.supportedPermissions()
since 5.11, without replacementexplicit use ofBambooHomeLocator.getLocalHomePath()
should be preferredsince 6.8 use constructor injection or annotation injectionsince 6.5 useStorageLocationService.getLogFile(Key, long)
since 6.5 useStorageLocationService.getLogFileName(Key, long)
since 5.0since 5.13, tasks do not have view UI anymore and any overrides of this method are not executedsince 6.8 use constructor injection or annotation injectioncom.atlassian.bamboo.task.AbstractTaskConfigurator.setTaskConfiguratorHelper(TaskConfiguratorHelper) since 6.8 use constructor injection or annotation injectionsince 8.0 labels are not unique across different executable types. Use {TaskManager.getExecutableLabelTypesMap()
} instead.since 5.15, useBambooPluginUtils.pluginKeyEquals(String)
prefer usingPermissionsControl.setDeploymentProjectPermissions(java.lang.String, com.atlassian.bamboo.specs.api.builders.permission.Permissions)
which is backed by Specsprefer usingPermissionsControl.setEnvironmentPermissions(java.lang.String, java.lang.String, com.atlassian.bamboo.specs.api.builders.permission.Permissions)
which is backed by Specsprefer usingPermissionsControl.setDeploymentProjectPermissions(java.lang.String, com.atlassian.bamboo.specs.api.builders.permission.Permissions)
which is backed by Specsprefer usingPermissionsControl.setEnvironmentPermissions(java.lang.String, java.lang.String, com.atlassian.bamboo.specs.api.builders.permission.Permissions)
which is backed by SpecsPrefer usingRepositoryControl.createRepository(VcsRepository)
com.atlassian.bamboo.testutils.backdoor.RepositoryControl.createLinkedRepository(Repository, String) Prefer usingRepositoryControl.createRepository(VcsRepository)
Prefer ussingRepositoryControl.createRepository(VcsRepository)
since 5.15, useSingleEventLogger.getEvent(Duration)
This should be used only in non-JUnit tests. For JUnit tests useGreenMailRule
This should be used only in non-JUnit tests. For JUnit tests useGreenMailRule
since 6.8, useGreenMailUtils.cleanInbox(GreenMailOperations, List)
since 6.8, useGreenMailUtils.setUpGreenMail(String, String, String)
since 6.8, useGreenMailUtils.tearDownGreenMail(GreenMailOperations)
com.atlassian.bamboo.testutils.xml.XmlUnitUtils.assertXMLEqual(InputStreamReader, InputStreamReader) since 5.0 use a regular assertThat insteadsince 5.0 use a regular assertThat insteadsince 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionsince 5.14 useAbstractQuartzTriggerActivator.scheduler
directlysince 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionsince 9.4 usesince 6.1, without replacementsince 9.4 use the defaults provided by DiskAvatarRepositorysince 5.10 try usingBambooPathUtils.cleanDirectory(Path)
) insteadsince 5.4 useSecureTemporaryFiles
classsince 5.4 useSecureTemporaryFiles
classsince 5.4 useSecureTemporaryFiles
classsince 5.10 useBambooPathUtils.deleteDirectory(Path)
since 5.10 useBambooPathUtils.deleteQuietly(Path)
insteadsince 5.10 useinstead
since 5.10 useBambooFilenameUtils.containsDirectoryTraversalString(String)
since 5.12 useBambooFiles.resolvePathUnderParent(Path, String)
insteadsince 6.4 useBambooFiles.setAccessibleOnlyByOwner(Path)
since 6.4 useBambooFiles.setAccessibleOnlyByOwner(Path)
since 5.10, useObjectUtils.compare(Comparable, Comparable)
since 5.15 please useBambooStringUtils.containsRelatedCharacters(java.lang.String, char[])
since 6.3 useBambooConstantUtils.preventInlining(Object)
since 5.14 use com.atlassian.bamboo.utils.EscapeChars#forUrl insteadsince 4.2 consider usingNumberUtils.createDoubleQuietly(String)
use method reference toEnum.name()
since 6.3 useBambooTestUtils.readFileFromResource(Class, String)
insteadsince 5.10 useBambooValidationUtils.validate(boolean, Supplier)
does not preserve bambooDelimiterParsing disabled property correctly. Avoid, especially when manipulating build configuration. UseBuildConfiguration.asXml()
instead.since 5.2 use $ConfigUtils.getXmlConfigFromXmlString(java.lang.String)
since 5.11 useEscapeChars.forUrl(String)
orEscapeChars.forFormSubmission(String)
since 6.3 use theDuration
variant insteadsince 6.3 use theDuration
variant insteadcom.atlassian.bamboo.utils.i18n.BambooTextProvider.getText(String, String, String[], OgnlValueStack) only for internal useonly for internal usesince 6.4, use {@link SecureXmlParserFactory::newXmlReader}without replacement; this is temporary solutionsince 6.8 use constructor injection or annotation injectionsince 6.8 inject your ownsince 6.8 use constructor injection or annotation injectionsince 6.5 useAbstractFileCapabilityDefaultsHelper.getPosixHomes()
since 4.4since 4.4since 10.2 without replacement.since 6.2, useBambooPredicates.hasBambooObjectEqualId(long)
since 6.2, useRequirement.belongsToPlugin()
method referencesince 6.2, useImmutableRequirement.isReadonly()
method referencesince 6.8 use constructor injection or annotation injectionsince 6.8 use constructor injection or annotation injectionSince 5.0 useBuildContextHelper.getBuildWorkingDirectory(CommonContext)
insteadsince 6.0 useBuildIdentifier.getPlanResultKey()
insteadsince 6.9 useBuildIdentifier.getPlanDbId()
since 5.11, useBuildIdentifier.getTypedPlanKey()
insteadsince 5.10 without replacementsince 5.0 useBuildContextEvent.getContext()
since 7.1 use {AgentQueueAccessor.takeContext(long)
}since 10.0 useBuildQueueManager.addToQueueWithResult(CommonContext)
instead.com.atlassian.bamboo.v2.build.queue.QueueOfExecutables.enqueue(CommonContext, MinimalRequirementSet) since 9.3, useQueueOfExecutables.enqueueAndRequestDedicatedAgentIfApplicable(CommonContext, MinimalRequirementSet)
, this method does not handle dedicated agents.since 3.3 Repository must handle checkout to any sub-directory.since 9.3 not really related to actual VCS operationssince 6.9 without replacementsince 7.0 For use in upgrade task only.since 7.1 useVariableDefinitionAccessor.getInheritedNotOverriddenVariables(PlanIdentifier)
insteadsince 7.0 useVariableType.isSameType()
since 5.14 for backward compatibility onlysince 5.14 for backward compatibility onlydon't use if you don't have todon't use if you don't have tosince 5.14 should be used for backward compatibility and upgrade task onlyCreates new linked repositorysince 5.14since 9.0 without direct replacement. The algorithm has changed.10.1, since the Quiet Period feature has been deprecated and will be removed in future versions without a replacement.since 10.1, the Quiet Period feature has been deprecated and will be removed in future versions without a replacement.since 10.1, the Quiet Period feature has been deprecated and will be removed in future versions without a replacement.since 5.14 for backward compatibility onlysince 5.14 for backward compatibility onlysince 5.15 use {@link #generateConfigMap(ActionParametersMap, VcsBranchDefinition, Mapsince 5.14since 7.1 without replacement. Should be always true.since 7.1 without replacement, it's not used anywheresince 6.0 use/implementVcsBranchDetector.getFirstCommitApproximation(VcsRepositoryData)
insteadsince 5.14 the method exist only to provide backward compatibility with deprecated behaviour ofCustomVariableProviderRepository
useStarterAction.getAuthors()
instead. You can now have multiple authores for a user.don't use it unless you really have to. Prefer @Inject annotationssince 4.4since 4.4since 8.0 labels are not unique across different executable types. Use {UIConfigSupport.getExecutableLabelTypesMap()
} instead.since 5.14 without replacementsince 8.2 without replacement. This method exposes implementation details of cron trigger plugin.since 8.2 without replacement. This method exposes implementation details of cron trigger plugin.since 5.14 without replacementsince 6.0 useBuildQueueItemViewForJsonDecorator.getJobResultKey()
insteadsince 6.0 useBuildQueueItemViewForJsonDecorator.getTypedJobKey()
insteadsince 6.0 useBuildQueueItemViewForJsonDecorator.getChainKey()
insteadsince 6.0 useBuildQueueItemViewForJsonDecorator.getChainResultKey()
insteadsince 4.4since 4.4since 4.4since 4.4since 4.4since 1.0 UseActionSupport.addFieldError(String, String)
insteadsince 1.0 UseBambooActionSupport.addActionError(String)
insteadsince 5.4 use a different method name, for example "execute"since 5.10 useActionSupport.execute()
insteadsince 5.1 use ${#input()} instead.since 5.10since 5.1 useActionSupport.getActionErrors()
insteadsince 5.1 useBambooActionSupport.getFieldErrors()
insteadsince 5.1since 5.1since 1.0 UseActionSupport.setActionErrors(Collection)
insteadsince 6.5 causes explosive cache refreshcom.atlassian.bamboo.ww2.FreemarkerContext.getWebItemsForSectionNoAction(String, HttpServletRequest) since sal-2.10
-
ConstructorDescriptionsince 5.14 use
ScheduledJob(JobKey, Date)
insteadsince 9.4.0 used only within atst plugin testssince 5.13 useChainStageImpl(Chain, String, String, boolean, boolean)
since 6.0 useSimpleActionParametersMap(HttpParameters)
since 6.1 useCommitFileImpl(String, String, String)
since 9.5, name and type parameters are not usedsince 5.0since 5.10 useDefaultWebValidationException
insteadsince 6.1, useRetryingTaskExecutor(Duration, int)
since 6.1, useRetryingTaskExecutor(Duration, int, boolean)
since 6.7.0since 5.14since 5.14 you should always set actual branch if it can be donesince 5.4 use the constructor which requires aModuleFactory
since 5.14 useRepositoryDataImpl(VcsRepositoryData)
since 5.14 useRepositoryException(String, long)
since 5.14 useRepositoryException(String, long)
since 5.13 useRestStage(Long, String, String, Boolean, Boolean)
since 5.10 use $TestResults(String, String, Long)
since 5.7since 6.3since 7.1. Use Buildersince 6.3since 7.1. Use Buildersince 6.3since 6.3since 5.13 - useAbstractBootstrapUpgradeTask(String)
instead.since 5.10 - useAbstractUpgradeTask(String)
insteadsince 5.13 - useAbstractInHibernateTransactionUpgradeTask(String)
insteadsince 6.6 use autowiring instead.since 6.6.0. UseDefaultBambooUser(User, GrantedAuthority[])
since 6.3 use theDuration
variant insteadsince 4.3 usePair.make(Object, Object)
preferRange.make(Number, Number)
instead as this one does not check parameterssince 5.14 avoid using constructor that produces incomplete datasince 5.14 avoid using constructor that produces incomplete datasince 5.14 avoid using constructor that produces incomplete datasince 5.14 avoid using constructor that produces incomplete datasince 5.14 avoid using constructor that produces incomplete datasince 5.10 use the other constructor or inject the beansince 5.9since 5.8 as it doesn't set current branch and configured branchsince 5.8 as it doesn't set current branchsince 5.14since 5.14
-
Enum ConstantDescriptionsince 5.13 use other enum values insteadsince 5.13 use other enum values insteadsince 6.3 HSQL database is no longer supported (H2 is the new in-memory database)job variables are not supported