Uses of Interface
com.atlassian.bamboo.plan.cache.ImmutableChain
Package
Description
-
Uses of ImmutableChain in com.atlassian.bamboo.brokenbuildtracker
Modifier and TypeMethodDescriptionprotected TrackingEntry
BrokenBuildPostProcessor.createNewEntry
(ImmutableChain chain, ChainResultsSummary summary) void
BrokenBuildPostProcessor.execute
(@NotNull ImmutableChain chain, @NotNull ChainResultsSummary chainResultsSummary, @NotNull ChainExecution chainExecution) -
Uses of ImmutableChain in com.atlassian.bamboo.build
Modifier and TypeMethodDescriptionBuildResultsAction.getChain()
Deprecated.BuildResultsAction.getImmutableChain()
ChainResultsAction.getImmutableChain()
Modifier and TypeMethodDescription@NotNull BuildDetectionAction
BuildDetectionActionFactory.createBuildDetectionActionForPluginBuildTrigger
(@NotNull ImmutableChain chain, @Nullable PlanExecutionConfig planExecutionConfig, @NotNull TriggerReason triggerReason, @NotNull PlanTrigger buildTrigger, @NotNull Map<String, String> params, @NotNull Map<String, String> variables) @NotNull BuildDetectionAction
BuildDetectionActionFactoryImpl.createBuildDetectionActionForPluginBuildTrigger
(@NotNull ImmutableChain chain, @Nullable PlanExecutionConfig planExecutionConfig, @NotNull TriggerReason triggerReason, @NotNull PlanTrigger buildTrigger, @NotNull Map<String, String> params, @NotNull Map<String, String> variables) @NotNull BuildDetectionAction
BuildDetectionActionFactory.createDependentBuildDetectionAction
(@NotNull ImmutableChain chain, @NotNull ImmutableChain parentChain, @NotNull BuildContext completedBuildContext) Creates a new instance ofBuildDetectionAction
that is used to trigger dependent builds@NotNull BuildDetectionAction
BuildDetectionActionFactoryImpl.createDependentBuildDetectionAction
(@NotNull ImmutableChain chain, @NotNull ImmutableChain parentChain, @NotNull BuildContext completedBuildContext) @NotNull BuildDetectionAction
BuildDetectionActionFactory.createInitialBuildDetectionAction
(@NotNull ImmutableChain chain) Creates a new instance ofBuildDetectionAction
that is used to execute the initial build for aPlan
@NotNull BuildDetectionAction
BuildDetectionActionFactoryImpl.createInitialBuildDetectionAction
(@NotNull ImmutableChain chain) @NotNull BuildDetectionAction
BuildDetectionActionFactory.createManualBuildDetectionAction
(@NotNull ImmutableChain chain, @NotNull com.atlassian.user.User user, @NotNull TriggerReason triggerReason, @Nullable PlanTrigger planTrigger, @Nullable PlanExecutionConfig planExecutionConfig, @NotNull Map<String, String> params, @NotNull Map<String, String> variables) Creates a new instance ofBuildDetectionAction
that can be used to start the manual execution ofPlan
when manual stage is meant to continue build or build is restarted@NotNull BuildDetectionAction
BuildDetectionActionFactory.createManualBuildDetectionAction
(@NotNull ImmutableChain chain, @NotNull com.atlassian.user.User user, @NotNull Map<String, String> params, @NotNull Map<String, String> variables) Creates a new instance ofBuildDetectionAction
that can be used to start the manual execution ofPlan
@NotNull BuildDetectionAction
BuildDetectionActionFactory.createManualBuildDetectionAction
(@NotNull ImmutableChain chain, @NotNull com.atlassian.user.User user, @Nullable PlanExecutionConfig planExecutionConfig, @NotNull Map<String, String> params, @NotNull Map<String, String> variables) Creates a new instance ofBuildDetectionAction
that can be used to start the manual execution ofPlan
when manual stage is meant to continue build or build is restarted@NotNull BuildDetectionAction
BuildDetectionActionFactoryImpl.createManualBuildDetectionAction
(@NotNull ImmutableChain chain, @NotNull com.atlassian.user.User user, @NotNull TriggerReason triggerReason, @Nullable PlanTrigger planTrigger, @Nullable PlanExecutionConfig planExecutionConfig, @NotNull Map<String, String> params, @NotNull Map<String, String> variables) @NotNull BuildDetectionAction
BuildDetectionActionFactoryImpl.createManualBuildDetectionAction
(@NotNull ImmutableChain chain, @NotNull com.atlassian.user.User user, @NotNull Map<String, String> params, @NotNull Map<String, String> variables) @NotNull BuildDetectionAction
BuildDetectionActionFactoryImpl.createManualBuildDetectionAction
(@NotNull ImmutableChain chain, @NotNull com.atlassian.user.User user, @Nullable PlanExecutionConfig planExecutionConfig, @NotNull Map<String, String> params, @NotNull Map<String, String> variables) @NotNull BuildDetectionAction
BuildDetectionActionFactoryImpl.createManualBuildDetectionAction
(@NotNull ImmutableChain chain, @NotNull com.atlassian.user.User user, @Nullable PlanExecutionConfig planExecutionConfig, @Nullable TriggerReason triggerReason, @Nullable PlanTrigger planTrigger, @NotNull Map<String, String> params, @NotNull Map<String, String> variables) @NotNull BuildDetectionAction
BuildDetectionActionFactory.createScheduledBuildDetectionAction
(@NotNull ImmutableChain chain, @NotNull Map<String, String> triggerConditionsConfiguration) Deprecated.since 5.11@NotNull BuildDetectionAction
BuildDetectionActionFactory.createScheduledBuildDetectionAction
(@NotNull ImmutableChain chain, @NotNull Map<String, String> triggerConditionsConfiguration, @NotNull Map<String, String> triggerConfiguration) Creates a new instance ofBuildDetectionAction
that can be used to start the scheduled execution ofPlan
@NotNull BuildDetectionAction
BuildDetectionActionFactoryImpl.createScheduledBuildDetectionAction
(@NotNull ImmutableChain chain, @NotNull Map<String, String> triggerConditionsConfiguration) @NotNull BuildDetectionAction
BuildDetectionActionFactoryImpl.createScheduledBuildDetectionAction
(@NotNull ImmutableChain chain, @NotNull Map<String, String> triggerConditionsConfiguration, @NotNull Map<String, String> triggerConfiguration) void
ChainResultsAction.setChain
(ImmutableChain chain) -
Uses of ImmutableChain in com.atlassian.bamboo.build.creation
Modifier and TypeMethodDescriptionvoid
PlanValidationService.validateNewPlanBranchForMaster
(@NotNull com.atlassian.struts.ValidationAware validationAware, @NotNull ImmutableChain masterChain, @NotNull String branchName) Validate that new plan branch name (only) is unique within a set of branches with a common mastervoid
PlanValidationServiceImpl.validateNewPlanBranchForMaster
(@NotNull com.atlassian.struts.ValidationAware validationAware, @NotNull ImmutableChain masterChain, @NotNull String branchName) void
PlanValidationServiceImpl.validateNewPlanBranchForMaster
(com.opensymphony.xwork.ValidationAware validationAware, @NotNull ImmutableChain masterChain, @NotNull String branchName) void
PlanValidationServiceXWork1.validateNewPlanBranchForMaster
(@NotNull com.opensymphony.xwork.ValidationAware validationAware, @NotNull ImmutableChain masterChain, @NotNull String branchName) Deprecated.since 5.1 -
Uses of ImmutableChain in com.atlassian.bamboo.build.status
Modifier and TypeMethodDescriptionprotected abstract boolean
AbstractBuildStatusUpdater.isPlanRelevant
(@NotNull ImmutableChain immutableChain) -
Uses of ImmutableChain in com.atlassian.bamboo.chains
Modifier and TypeMethodDescription@NotNull ImmutableChain
ChainResultsSummaryImpl.getImmutableChain()
@NotNull ImmutableChain
ChainResultsSummaryImpl.getImmutablePlan()
@NotNull ImmutableChain
ImmutableChainResultsSummary.getImmutablePlan()
Modifier and TypeMethodDescription@NotNull Optional<ImmutableChain>
ChainResultsSummaryImpl.getPlanIfExists()
@NotNull Optional<ImmutableChain>
ImmutableChainResultsSummary.getPlanIfExists()
Modifier and TypeMethodDescriptionboolean
BuildContextFactory.canRestartOrContinueBuild
(@NotNull ImmutableChain chain, @NotNull ChainResultsSummary chainResultsSummary, @NotNull PlanExecutionConfig planExecutionConfig) Checks if build can be continued from a manual stage or restarted, that is, if there are any stages to be run and if all the jobs in those stages still exist.boolean
BuildContextFactoryImpl.canRestartOrContinueBuild
(@NotNull ImmutableChain chain, @NotNull ChainResultsSummary chainResultsSummary, @NotNull PlanExecutionConfig planExecutionConfig) @NotNull Map<ImmutableChainStage,
Map<ImmutableJob, BuildContext>> BuildContextFactory.createBuildContextsForJobs
(@NotNull ImmutableChain chain, @NotNull BuildContext parentBuildContext) @NotNull Map<ImmutableChainStage,
Map<ImmutableJob, BuildContext>> BuildContextFactory.createBuildContextsForJobs
(@NotNull ImmutableChain chain, @Nullable ChainResultsSummary chainResultsSummary, @NotNull BuildContext parentBuildContext, @NotNull PlanExecutionConfig planExecutionConfig) @NotNull Map<ImmutableChainStage,
Map<ImmutableJob, BuildContext>> BuildContextFactoryImpl.createBuildContextsForJobs
(@NotNull ImmutableChain chain, @NotNull ChainResultsSummary chainResultsSummary, @NotNull BuildContext parentBuildContext, @NotNull PlanExecutionConfig planExecutionConfig) @NotNull Map<ImmutableChainStage,
Map<ImmutableJob, BuildContext>> BuildContextFactoryImpl.createBuildContextsForJobs
(@NotNull ImmutableChain chain, @NotNull BuildContext parentBuildContext) @NotNull Collection<BuildContext>
BuildContextFactory.createBuildContextsForRestartedOrContinuedBuild
(@NotNull ImmutableChain chain, @NotNull ChainResultsSummary chainResultsSummary, @NotNull BuildContext parentBuildContext, @NotNull PlanExecutionConfig planExecutionConfig) Creates aBuildContext
for each not built or failedJob
in theChain
that was partially executed or is restarted for example with "continue manual stage" action, or "re-run failed jobs" action, etc@NotNull Collection<BuildContext>
BuildContextFactoryImpl.createBuildContextsForRestartedOrContinuedBuild
(@NotNull ImmutableChain chain, @NotNull ChainResultsSummary chainResultsSummary, @NotNull BuildContext parentBuildContext, @NotNull PlanExecutionConfig planExecutionConfig) @NotNull ChainStateCreationRequestResult
ChainExecutionManager.createChainStateNoDetection
(@NotNull ImmutableChain chain, @NotNull UnconditionalBuildDetectionAction buildDetectionAction) Create a chain state ready for building but dont actually build.@NotNull ChainStateCreationRequestResult
ChainExecutionManagerImpl.createChainStateNoDetection
(@NotNull ImmutableChain chain, @NotNull UnconditionalBuildDetectionAction buildDetectionAction) void
ChainResultManager.createRepositorySpecFailedResult
(@NotNull ImmutableChain plan, @NotNull VcsRepositoryData repositoryData, @NotNull BuildChanges buildChanges, int buildNumber, @NotNull VcsLocationBambooSpecsState specsState) Create and save chain result for plan which was not updated when Repository stored specs execution was failedvoid
ChainResultManagerImpl.createRepositorySpecFailedResult
(@NotNull ImmutableChain plan, @NotNull VcsRepositoryData repositoryData, @NotNull BuildChanges buildChanges, int buildNumber, @NotNull VcsLocationBambooSpecsState specsState) void
ChainResultManager.createRepositorySpecSuccessResult
(@NotNull ImmutableChain plan, @NotNull VcsRepositoryData repositoryData, @NotNull BuildChanges buildChanges, int buildNumber) Create and save chain result for plan which was updated when Repository stored specs executedvoid
ChainResultManagerImpl.createRepositorySpecSuccessResult
(@NotNull ImmutableChain plan, @NotNull VcsRepositoryData repositoryData, @NotNull BuildChanges buildChanges, int buildNumber) @NotNull ChainExecutionRequestResult
ChainExecutionManager.delayedStart
(@NotNull ImmutableChain chain, @NotNull UnconditionalBuildDetectionAction buildDetectionAction, @NotNull ChainState chainState) Starts the Chain if it's been created alreadyChainExecutionManager.delayedStart
(@NotNull ImmutableChain chain, @NotNull UnconditionalBuildDetectionAction buildDetectionAction, @NotNull ChainState chainState, PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions) Starts the Chain if it's been created already@NotNull ChainExecutionRequestResult
ChainExecutionManagerImpl.delayedStart
(@NotNull ImmutableChain chain, @NotNull UnconditionalBuildDetectionAction buildDetectionAction, @NotNull ChainState chainState) ChainExecutionManagerImpl.delayedStart
(@NotNull ImmutableChain chain, @NotNull UnconditionalBuildDetectionAction buildDetectionAction, @NotNull ChainState chainState, PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions) boolean
ChainPluginSupport.shouldStopExecution
(@NotNull ImmutableChain chain, @NotNull Map<String, String> triggerConditionsConfiguration) Determine from plugins whether the chain should continue executing or not.@NotNull ChainExecutionRequestResult
ChainExecutionManager.start
(@NotNull ImmutableChain chain, @NotNull ConditionalBuildDetectionAction buildDetectionAction) Starts the Chain@NotNull ChainExecutionRequestResult
ChainExecutionManagerImpl.start
(@NotNull ImmutableChain chain, @NotNull ConditionalBuildDetectionAction buildDetectionAction) -
Uses of ImmutableChain in com.atlassian.bamboo.chains.cache
Modifier and TypeMethodDescription@NotNull ImmutableChain
ImmutableChainStage.getChain()
Gets theChain
that the stage belongs to@NotNull ImmutableChain
ImmutableChainStageImpl.getChain()
Modifier and TypeMethodDescriptionstatic ImmutableChainStageImpl
ImmutableChainStageImpl.createImmutableChainStageBasedOnFlatData
(@NotNull ImmutableChain chain, @NotNull FlatChainStageDto stageDto, @NotNull ImmutablePlanManager immutablePlanManager, @NotNull ImmutablePlanCacheService immutablePlanCacheService, @NotNull Map<Long, List<EnrichedPlanDto>> jobsGroupedByStageId, @NotNull Map<Long, EnrichedPlanDto> jobsGroupedById, boolean isLightWeight) ModifierConstructorDescriptionImmutableChainStageImpl
(@NotNull ImmutableChain chain, @NotNull ChainStage mutableStage, @NotNull ImmutablePlanManager immutablePlanManager, @NotNull ImmutablePlanCacheService immutablePlanCacheService) -
Uses of ImmutableChain in com.atlassian.bamboo.chains.plugins
Modifier and TypeMethodDescriptionvoid
PostChainAction.execute
(@NotNull ImmutableChain chain, @NotNull ChainResultsSummary chainResultsSummary, @NotNull ChainExecution chainExecution) Execute the custom actionvoid
PreChainAction.execute
(@NotNull ImmutableChain chain, @NotNull ChainExecution chainExecution) Executes the custom action -
Uses of ImmutableChain in com.atlassian.bamboo.clover.builder.coverage
Modifier and TypeMethodDescriptionvoid
CloverChainResultAggregator.execute
(@NotNull ImmutableChain chain, @NotNull ChainResultsSummary chainResultsSummary, @NotNull ChainExecution chainExecution) -
Uses of ImmutableChain in com.atlassian.bamboo.configuration.external
Modifier and TypeMethodDescription@NotNull ImmutableChain
PlanConfigImportService.ImportResult.getPlan()
Modifier and TypeMethodDescriptionSpecsConsumerFactory.createDivergentBranchSpecsCreationConsumer
(@NotNull VcsBranch newBranch, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull Multimap<ImmutableChain, PlanKey> chainsAndBranchKeys, PlanCreationService.EnablePlan enablePlan) Create Specs consumer used for creating divergent branchesSpecsConsumerFactory.createDivergentBranchSpecsUpdateConsumer
(@NotNull VcsBranch branch, @NotNull Multimap<ImmutableChain, PlanKey> chainsAndBranchKeys) Create Specs consumer used for updating divergent branchesModifierConstructorDescriptionImportResult
(ImmutableChain plan, boolean newPlan, boolean eventsDeferred) ImportResult
(ImmutableChain plan, boolean newPlan, boolean eventsDeferred, boolean noChangesInProperties) -
Uses of ImmutableChain in com.atlassian.bamboo.configuration.external.rss
Modifier and TypeMethodDescription@NotNull ImmutableChain
DivergentBranchDataBean.getImmutableChain()
Modifier and TypeMethodDescriptionstatic DivergentBranchDataBean
DivergentBranchDataBean.forCreation
(@NotNull ImmutableChain immutableChain, @NotNull PlanKey planBranchKey, @NotNull PlanBranchWorkflow planBranchWorkflow, PlanCreationService.EnablePlan enablePlan) static DivergentBranchDataBean
DivergentBranchDataBean.forUpdate
(@NotNull ImmutableChain immutableChain, @NotNull PlanKey planBranchKey) Modifier and TypeMethodDescriptionSpecsConsumerFactoryImpl.createDivergentBranchSpecsCreationConsumer
(@NotNull VcsBranch vcsBranch, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull Multimap<ImmutableChain, PlanKey> chainsAndBranchKeys, PlanCreationService.EnablePlan enablePlan) SpecsConsumerFactoryImpl.createDivergentBranchSpecsUpdateConsumer
(@NotNull VcsBranch vcsBranch, @NotNull Multimap<ImmutableChain, PlanKey> chainsAndBranchKeys) -
Uses of ImmutableChain in com.atlassian.bamboo.credentials
Modifier and TypeMethodDescriptionSharedCredentialsInRepositories.getPlanBranchRepositories()
SharedCredentialsInRepositories.getPlanRepositories()
Modifier and TypeMethodDescriptionCredentialsUsageDetector.getProjectSharedCredentialsForPlanTasks
(ImmutableChain immutableChain) CredentialsUsageDetectorImpl.getProjectSharedCredentialsForPlanTasks
(ImmutableChain immutableChain) ModifierConstructorDescriptionSharedCredentialsInRepositories
(Collection<VcsRepositoryData> globalRepositories, Map<ImmutableChain, List<VcsRepositoryData>> planRepositories, Map<ImmutableChain, List<VcsRepositoryData>> planBranchRepositories, Map<Project, List<VcsRepositoryData>> projectRepositories, Long sharedCredentialsId) -
Uses of ImmutableChain in com.atlassian.bamboo.deployments.environments.trigger
Modifier and TypeMethodDescriptionvoid
PlanAwareEnvironmentTriggerConfigurator.onDeploymentProjectPlanUpdate
(@Nullable ImmutableChain oldPlan, @NotNull ImmutableChain newPlan, @NotNull TriggerDefinition triggerDefinition) Update trigger definition when plan related to deployment is changed.void
PlanAwareEnvironmentTriggerConfigurator.validateDeploymentProjectPlanUpdate
(@Nullable ImmutableChain oldPlan, @NotNull ImmutableChain newPlan, @NotNull Environment environment, @NotNull List<EnvironmentTriggerValidationError> triggerValidationErrors, @NotNull TriggerDefinition triggerDefinition) Validate change of plan deployment is related to. -
Uses of ImmutableChain in com.atlassian.bamboo.hibernate.invalidators
Modifier and TypeMethodDescriptionprotected abstract Predicate<ImmutableChain>
AbstractByPredicateCacheInvalidator.predicate()
Modifier and TypeMethodDescriptionAbstractByPredicateCacheInvalidator.getAffectedPlanKeys
(@NotNull com.google.common.cache.Cache<PlanKey, ImmutableChain> planKeyChainMap, @NotNull PlanCacheIndices planCacheIndices) BranchMetadataInvalidator.getAffectedPlanKeys
(@NotNull com.google.common.cache.Cache<PlanKey, ImmutableChain> planKeyChainMap, @NotNull PlanCacheIndices planCacheIndices) CacheInvalidators.getAffectedPlanKeys
(com.google.common.cache.Cache<PlanKey, ImmutableChain> planKeyChainMap, Predicate<ImmutableChain> predicate) CacheInvalidators.getAffectedPlanKeys
(com.google.common.cache.Cache<PlanKey, ImmutableChain> planKeyChainMap, Predicate<ImmutableChain> predicate) void
BuildDefinitionInvalidator.getChainsToInvalidateAndReindex
(@NotNull ImmutablePlanCacheService immutablePlanCacheService, @NotNull com.google.common.cache.Cache<PlanKey, ImmutableChain> planKeyChainMap, @NotNull PlanCacheIndices planCacheIndices, @NotNull Set<PlanKey> chainsToInvalidate, @NotNull Set<PlanKey> chainsToReindex) -
Uses of ImmutableChain in com.atlassian.bamboo.index.quicksearch
Modifier and TypeMethodDescriptionstatic QuickSearchDocumentImpl
QuickSearchDocumentFactory.forChain
(ImmutableChain chain) -
Uses of ImmutableChain in com.atlassian.bamboo.notification.chain
-
Uses of ImmutableChain in com.atlassian.bamboo.plan
Modifier and TypeInterfaceDescriptioninterface
Marker interface that specifies that the implementingPlan
is a 'top level' objectModifier and TypeMethodDescriptionstatic <T extends ImmutableChain>
booleanPlanPredicates.hasJobs
(T chain) static <T extends ImmutableChain>
TPlanTestHelper.mockPlan
(@NotNull CachedPlanManager cachedPlanManager, @NotNull PlanKey planKey, @NotNull Class<T> planClass, @Nullable ImmutableChain masterPlan) static <T extends ImmutableChain>
TPlanTestHelper.mockPlan
(@NotNull ImmutablePlanCacheService immutablePlanCacheService, @NotNull PlanKey planKey, Class<T> planClass) static <T extends ImmutableChain>
TPlanTestHelper.mockPlan
(@NotNull ImmutablePlanManager immutablePlanManager, @NotNull PlanKey planKey, Class<T> planClass) static <T extends ImmutableChain>
TPlanTestHelper.mockPlan
(@NotNull ImmutablePlanManager immutablePlanManager, @NotNull PlanKey planKey, Class<T> planClass, long id) static <T extends ImmutableChain>
TPlanTestHelper.mockPlan
(@NotNull ImmutablePlanManager immutablePlanManager, @NotNull PlanKey planKey, Class<T> planClass, @Nullable ImmutableChain masterPlan) Modifier and TypeMethodDescriptionstatic @NotNull ImmutableChain
PlanHelper.getMasterPlan
(@NotNull ImmutableChain plan) Get master plan if plan has master or passed plan otherwise.@Nullable ImmutableChain
Get an individual stage from a plan@Nullable ImmutableChain
@Nullable ImmutableChain
PlanStatusHistoryAction.getPlan()
Modifier and TypeMethodDescriptionstatic Predicate<ImmutableChain>
PlanHelper.defaultRepositoryAsRootPredicate
(long repositoryId) passes chains when the default plan repository definition points to root definition with given idPlanDao.filterFavouritedPlans
(@NotNull Collection<? extends ImmutableChain> plans, @NotNull com.atlassian.user.User user) Return a collection ofTopLevelPlan
s that are a subset of the givenPlan
s collection that are favourited by theUser
PlanHibernateDao.filterFavouritedPlans
(@NotNull Collection<? extends ImmutableChain> plans, @NotNull com.atlassian.user.User user) @NotNull Set<ImmutableChain>
PlanManager.filterFavouritedPlans
(@NotNull Collection<? extends ImmutableChain> plans, @NotNull com.atlassian.user.User user) Return a set ofPlan
s that are a subset of the givenTopLevelPlan
s collection that are favourited by theUser
.@NotNull Set<ImmutableChain>
PlanManagerImpl.filterFavouritedPlans
(@NotNull Collection<? extends ImmutableChain> plans, @NotNull com.atlassian.user.User user) FilteringPlanManager.getAnyPlan
(Predicate<? super ImmutableChain> predicate) Returns a plan matching the supplied predicate.PlanManager.getFavouritePlans
(@NotNull com.atlassian.user.User user) PlanManagerImpl.getFavouritePlans
(@NotNull com.atlassian.user.User user) FilteringPlanManager.getFilteredPlansWithRepository
(PlanRepositoryIndex.Query query) Returns chains that use repositories with given params@NotNull List<ImmutableChain>
FilteringPlanManager.getPlansForClone()
Returns allChain
's.Modifier and TypeMethodDescriptionstatic ImmutableJob
PlanHelper.getBranchedImmutableJob
(ImmutableChain chainBranch, ImmutableJob masterJob) Searches for a corresponding job in a branch.static @NotNull ImmutableChainStage
PlanHelper.getBranchedStage
(ImmutableChain chainBranch, ImmutableChainStage masterStage) @NotNull List<ChainBranch>
PlanDao.getBranchesForChain
(ImmutableChain chain) Returns all branches which have the given chain as their master@NotNull List<ChainBranch>
PlanHibernateDao.getBranchesForChain
(ImmutableChain chain) static @NotNull ImmutableChain
PlanHelper.getMasterPlan
(@NotNull ImmutableChain plan) Get master plan if plan has master or passed plan otherwise.static boolean
PlanHelper.haveTheSameMaster
(@NotNull ImmutableChain masterOrBranchA, @NotNull ImmutableChain masterOrBranchB) boolean
DelegatingPlanExecutionManager.isBuildingAllowed
(@NotNull ImmutableChain chain) boolean
PlanExecutionManager.isBuildingAllowed
(@NotNull ImmutableChain chain) Checks if a particular build is allowed to be built.boolean
PlanExecutionManagerImpl.isBuildingAllowed
(@NotNull ImmutableChain chain) static boolean
PlanHelper.isDivergentBranch
(@NotNull ImmutableChain chain) boolean
AbstractPlanExecutionPermitter.isPermittedToExecute
(@NotNull ImmutableChain chain, @NotNull ErrorCollection errorCollection) boolean
AbstractPlanExecutionPermitter.isPermittedToExecute
(@NotNull ImmutableChain chain, @Nullable PlanResultKey resultKey, @NotNull ErrorCollection errorCollection) boolean
PlanExecutionPermitter.isPermittedToExecute
(@NotNull ImmutableChain chain, @NotNull ErrorCollection errorCollection) Checks a condition in order to determine if the plan can be executed.boolean
PlanExecutionPermitter.isPermittedToExecute
(@NotNull ImmutableChain chain, @Nullable PlanResultKey resultKey, @NotNull ErrorCollection errorCollection) Checks a condition in order to determine if the plan can be executed.protected abstract boolean
AbstractPlanExecutionPermitter.isPermittedToExecuteImpl
(@NotNull ImmutableChain chain, @Nullable PlanResultKey resultKey, @NotNull ErrorCollection errorCollection) boolean
ExecutionLimitsServiceImpl.isPermittedToExecuteImpl
(@NotNull ImmutableChain chain, @Nullable PlanResultKey resultKey, @NotNull ErrorCollection errorCollection) boolean
PlanExecutionConcurrencyServiceImpl.isPermittedToExecuteImpl
(@NotNull ImmutableChain chain, @Nullable PlanResultKey resultKey, @NotNull ErrorCollection errorCollection) static ImmutableChainBranch
PlanTestHelper.mockChainBranch
(@NotNull ImmutablePlanManager immutablePlanManager, @NotNull PlanKey chainBranchKey, @Nullable ImmutableChain chain) static <T extends ImmutableChain>
TPlanTestHelper.mockPlan
(@NotNull CachedPlanManager cachedPlanManager, @NotNull PlanKey planKey, @NotNull Class<T> planClass, @Nullable ImmutableChain masterPlan) static <T extends ImmutableChain>
TPlanTestHelper.mockPlan
(@NotNull ImmutablePlanManager immutablePlanManager, @NotNull PlanKey planKey, Class<T> planClass, @Nullable ImmutableChain masterPlan) PlanExecutionConfig.setChain
(ImmutableChain chain) PlanExecutionConfigImpl.setChain
(ImmutableChain chain) @NotNull ExecutionRequestResult
DelegatingPlanExecutionManager.start
(@NotNull ImmutableChain chain, @NotNull BuildDetectionAction buildDetectionAction, @NotNull AcquisitionPolicy acquisitionPolicy) @NotNull ExecutionRequestResult
DelegatingPlanExecutionManager.start
(@NotNull ImmutableChain chain, @NotNull BuildDetectionAction buildDetectionAction, @NotNull AcquisitionPolicy acquisitionPolicy, PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions) @NotNull ExecutionRequestResult
DelegatingPlanExecutionManager.start
(@NotNull ImmutableChain chain, @Nullable PlanExecutionConfig planExecutionConfig, @NotNull String triggerReasonPluginKey, @NotNull String planTriggerPluginKey, @NotNull Map<String, String> params, @NotNull Map<String, String> variables, @NotNull AcquisitionPolicy acquisitionPolicy) @NotNull ExecutionRequestResult
PlanExecutionManager.start
(@NotNull ImmutableChain chain, @NotNull BuildDetectionAction buildDetectionAction, @NotNull AcquisitionPolicy acquisitionPolicy) default @NotNull ExecutionRequestResult
PlanExecutionManager.start
(@NotNull ImmutableChain chain, @NotNull BuildDetectionAction buildDetectionAction, @NotNull AcquisitionPolicy acquisitionPolicy, PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions) @NotNull ExecutionRequestResult
PlanExecutionManager.start
(@NotNull ImmutableChain chain, @Nullable PlanExecutionConfig planExecutionConfig, @NotNull String triggerReasonPluginKey, @NotNull String planTriggerPluginKey, @NotNull Map<String, String> params, @NotNull Map<String, String> variables, @NotNull AcquisitionPolicy acquisitionPolicy) PlanExecutionManagerImpl.start
(@NotNull ImmutableChain chain, @NotNull BuildDetectionAction buildDetectionAction, @NotNull AcquisitionPolicy acquisitionPolicy) @NotNull ExecutionRequestResult
PlanExecutionManagerImpl.start
(@NotNull ImmutableChain chain, @NotNull BuildDetectionAction buildDetectionAction, @NotNull AcquisitionPolicy acquisitionPolicy, PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions) @NotNull ExecutionRequestResult
PlanExecutionManagerImpl.start
(@NotNull ImmutableChain chain, @Nullable PlanExecutionConfig planExecutionConfig, @NotNull String triggerReasonPluginKey, @NotNull String planTriggerPluginKey, @NotNull Map<String, String> params, @NotNull Map<String, String> variables, @NotNull AcquisitionPolicy acquisitionPolicy) @NotNull ExecutionRequestResult
DelegatingPlanExecutionManager.startManualExecution
(@NotNull ImmutableChain chain, @NotNull com.atlassian.user.User user, @NotNull Map<String, String> params, @NotNull Map<String, String> variables) @NotNull ExecutionRequestResult
DelegatingPlanExecutionManager.startManualExecution
(@NotNull ImmutableChain chain, PlanExecutionConfig planExecutionConfig, @NotNull com.atlassian.user.User user, @NotNull String triggerReasonPluginKey, @NotNull String planTriggerPluginKey, @NotNull Map<String, String> params, @NotNull Map<String, String> variables) @NotNull ExecutionRequestResult
DelegatingPlanExecutionManager.startManualExecution
(@NotNull ImmutableChain chain, PlanExecutionConfig planExecutionConfig, @NotNull com.atlassian.user.User user, @NotNull Map<String, String> params, @NotNull Map<String, String> variables) @NotNull ExecutionRequestResult
PlanExecutionManager.startManualExecution
(@NotNull ImmutableChain chain, @NotNull com.atlassian.user.User user, @NotNull Map<String, String> params, @NotNull Map<String, String> variables) Attempts to start a manual execution of the givenPlan
@NotNull ExecutionRequestResult
PlanExecutionManager.startManualExecution
(@NotNull ImmutableChain chain, PlanExecutionConfig planExecutionConfig, @NotNull com.atlassian.user.User user, @NotNull String triggerReasonPluginKey, @NotNull String planTriggerPluginKey, @NotNull Map<String, String> params, @NotNull Map<String, String> variables) Attempts to start a manual execution of a givenPlan
controlled byPlanExecutionConfig
PlanExecutionConfig
allows to control manual stages execution as well as enforcing execution of manual stages@NotNull ExecutionRequestResult
PlanExecutionManager.startManualExecution
(@NotNull ImmutableChain chain, PlanExecutionConfig planExecutionConfig, @NotNull com.atlassian.user.User user, @NotNull Map<String, String> params, @NotNull Map<String, String> variables) Attempts to start a manual execution of a givenPlan
controlled byPlanExecutionConfig
PlanExecutionConfig
allows to control manual stages execution as well as enforcing execution of manual stages@NotNull ExecutionRequestResult
PlanExecutionManagerImpl.startManualExecution
(@NotNull ImmutableChain chain, @NotNull com.atlassian.user.User user, @NotNull Map<String, String> params, @NotNull Map<String, String> variables) @NotNull ExecutionRequestResult
PlanExecutionManagerImpl.startManualExecution
(@NotNull ImmutableChain chain, @Nullable PlanExecutionConfig planExecutionConfig, @NotNull com.atlassian.user.User user, @NotNull String triggerReasonPluginKey, @Nullable String planTriggerPluginKey, @NotNull Map<String, String> params, @NotNull Map<String, String> variables) @NotNull ExecutionRequestResult
PlanExecutionManagerImpl.startManualExecution
(@NotNull ImmutableChain chain, @Nullable PlanExecutionConfig planExecutionConfig, @NotNull com.atlassian.user.User user, @NotNull Map<String, String> params, @NotNull Map<String, String> variables) Modifier and TypeMethodDescriptionPlanDao.filterFavouritedPlans
(@NotNull Collection<? extends ImmutableChain> plans, @NotNull com.atlassian.user.User user) Return a collection ofTopLevelPlan
s that are a subset of the givenPlan
s collection that are favourited by theUser
PlanHibernateDao.filterFavouritedPlans
(@NotNull Collection<? extends ImmutableChain> plans, @NotNull com.atlassian.user.User user) @NotNull Set<ImmutableChain>
PlanManager.filterFavouritedPlans
(@NotNull Collection<? extends ImmutableChain> plans, @NotNull com.atlassian.user.User user) Return a set ofPlan
s that are a subset of the givenTopLevelPlan
s collection that are favourited by theUser
.@NotNull Set<ImmutableChain>
PlanManagerImpl.filterFavouritedPlans
(@NotNull Collection<? extends ImmutableChain> plans, @NotNull com.atlassian.user.User user) FilteringPlanManager.getAnyPlan
(Predicate<? super ImmutableChain> predicate) Returns a plan matching the supplied predicate. -
Uses of ImmutableChain in com.atlassian.bamboo.plan.artifact
Modifier and TypeMethodDescription@Nullable ArtifactDefinition
ArtifactDefinitionDao.findByNameInChain
(@NotNull ImmutableChain chain, @NotNull String name) Find artifact definition of a given name which has sharedArtifact property set to true, associated with a producer job that belongs to the chain.@Nullable ArtifactDefinition
ArtifactDefinitionHibernateDao.findByNameInChain
(@NotNull ImmutableChain chain, @NotNull String name) @NotNull List<ArtifactDefinition>
ArtifactDefinitionDao.findSharedArtifactsByChain
(@NotNull ImmutableChain chain) Find all shared artifacts that exist for a particular chain.@NotNull List<ArtifactDefinition>
ArtifactDefinitionHibernateDao.findSharedArtifactsByChain
(@NotNull ImmutableChain chain) @NotNull List<ArtifactDefinition>
ArtifactDefinitionManager.findSharedArtifactsByChain
(@NotNull ImmutableChain chain) Find all shared artifacts that exist for a particular chain (looks through all jobs).@NotNull List<ArtifactDefinition>
ArtifactDefinitionManagerImpl.findSharedArtifactsByChain
(@NotNull ImmutableChain chain) @NotNull Multimap<? extends ImmutableJob,
ArtifactDefinition> ArtifactDefinitionManager.getArtifactDefinitionsByJob
(@NotNull ImmutableChain chain, Predicate<ArtifactDefinitionBase> predicate) ReturnsArtifactDefinition
grouped byJob
where definitions are defined@NotNull Multimap<? extends ImmutableJob,
ArtifactDefinition> ArtifactDefinitionManagerImpl.getArtifactDefinitionsByJob
(@NotNull ImmutableChain chain, Predicate<ArtifactDefinitionBase> predicate) GetArtifactDefinition
grouped byJob
@NotNull List<ArtifactSubscription>
ArtifactSubscriptionManager.validateSubscriptions
(@NotNull ImmutableJob consumer, @NotNull ImmutableChain chain, @NotNull String stageName) Validate consumer artifact subscriptions against target chain and stage@NotNull List<ArtifactSubscription>
ArtifactSubscriptionManagerImpl.validateSubscriptions
(@NotNull ImmutableJob consumer, @NotNull ImmutableChain chain, @NotNull String stageName) -
Uses of ImmutableChain in com.atlassian.bamboo.plan.branch
Modifier and TypeMethodDescription@NotNull ImmutableChain
BranchIntegrationService.getIntegrationPlan
(@NotNull BranchIntegrationConfiguration integrationConfiguration) Deprecated.since 6.0.@NotNull ImmutableChain
BranchIntegrationServiceImpl.getIntegrationPlan
(@NotNull BranchIntegrationConfiguration integrationConfiguration) Deprecated.since 6.0.Modifier and TypeMethodDescriptionstatic @Nullable BranchIntegrationPoint
BranchIntegrationPointImpl.changeDetectionIntegrationPointForChain
(@NotNull ImmutableChain chain) Finds the best possible branch integration point for change detection, according to chain branch configuration.protected void
BranchExpiryJob.cleanupExpiredDueToInactivity
(ImmutableChain chain) void
VcsBranchManager.createAll
(@NotNull ImmutableChain chain, @NotNull Iterable<VcsBranch> requestedBranchesToSave) Creates new VCS branches.void
VcsBranchManagerImpl.createAll
(@NotNull ImmutableChain chain, @NotNull Iterable<VcsBranch> vcsBranches) @NotNull ChainBranchCreationResult
BranchCreationFacade.createChainBranch
(@NotNull ImmutableChain chain, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull String branchName, @Nullable String branchDescription, @Nullable VcsBranch vcsBranch, PlanCreationService.EnablePlan enablePlan, boolean enableExpiry) Given a branch name and (optionally) vcs branch name, creates a plan branch, overriding repository definition.@Nullable ChainBranchCreationResult
BranchCreationFacade.createChainBranch
(@NotNull ImmutableChain chain, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull String branchName, @Nullable String branchDescription, @Nullable VcsBranch vcsBranch, PlanCreationService.EnablePlan enablePlan, boolean enableExpiry, @NotNull com.atlassian.struts.ValidationAware validationAware) Given a branch name and (optionally) vcs branch name, creates a plan branch, overriding repository definition.@NotNull ChainBranchCreationResult
BranchCreationFacadeImpl.createChainBranch
(@NotNull ImmutableChain chain, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull String branchName, @Nullable String branchDescription, @Nullable VcsBranch vcsBranch, PlanCreationService.EnablePlan enablePlan, boolean enableExpiry) @Nullable ChainBranchCreationResult
BranchCreationFacadeImpl.createChainBranch
(@NotNull ImmutableChain chain, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull String branchName, @Nullable String branchDescription, @Nullable VcsBranch vcsBranch, PlanCreationService.EnablePlan enablePlan, boolean enableExpiry, @NotNull com.atlassian.struts.ValidationAware validationAware) BranchDetectionService.createChainBranch
(@NotNull ImmutableChain chain, @NotNull String branchName, @Nullable VcsBranch vcsBranch, @Nullable BuildConfiguration buildConfiguration, PlanCreationService.EnablePlan enablePlan, boolean enableExpiry) Deprecated.temporary workaroundBranchDetectionServiceImpl.createChainBranch
(@NotNull ImmutableChain chain, @NotNull String branchName, @Nullable VcsBranch vcsBranch, @Nullable BuildConfiguration buildConfiguration, PlanCreationService.EnablePlan enablePlan, boolean enableExpiry) @NotNull ChainBranchCreationResult
LightweightBranchCreationService.createChainBranch
(@NotNull ImmutableChain chain, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull String branchName, @Nullable String branchDescription, @Nullable PlanRepositoryDefinition defaultRepositoryDefinition, @Nullable VcsRepositoryModuleDescriptor moduleDescriptor, @Nullable VcsBranch newBranch, @NotNull BuildConfiguration buildConfiguration, PlanCreationService.EnablePlan enablePlan, boolean enableExpiry, @NotNull Consumer<PlanKey> branchPlanKeyConsumer, boolean expectingDivergentBranch) Creates a new lightweight plan branch for give chain.@NotNull ChainBranchCreationResult
LightweightBranchCreationService.createChainBranch
(@NotNull ImmutableChain chain, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull String branchName, @Nullable String branchDescription, @Nullable PlanRepositoryDefinition defaultRepositoryDefinition, @Nullable VcsRepositoryModuleDescriptor moduleDescriptor, @Nullable VcsBranch newBranch, @NotNull BuildConfiguration buildConfiguration, PlanCreationService.EnablePlan enablePlan, boolean enableExpiry, @NotNull Consumer<PlanKey> branchPlanKeyConsumer, boolean expectingDivergentBranch, Optional<VcsPullRequest> pullRequest) Creates a new lightweight plan branch for give chain.@NotNull ChainBranchCreationResult
LightweightBranchCreationServiceImpl.createChainBranch
(@NotNull ImmutableChain chain, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull String branchName, @Nullable String branchDescription, @Nullable PlanRepositoryDefinition defaultRepositoryDefinition, @Nullable VcsRepositoryModuleDescriptor moduleDescriptor, @Nullable VcsBranch newBranch, @NotNull BuildConfiguration buildConfiguration, PlanCreationService.EnablePlan enablePlan, boolean enableExpiry, @NotNull Consumer<PlanKey> branchPlanKeyConsumer, boolean expectingDivergentBranch) @NotNull ChainBranchCreationResult
LightweightBranchCreationServiceImpl.createChainBranch
(@NotNull ImmutableChain chain, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull String branchName, @Nullable String branchDescription, @Nullable PlanRepositoryDefinition defaultRepositoryDefinition, @Nullable VcsRepositoryModuleDescriptor moduleDescriptor, @Nullable VcsBranch newBranch, @NotNull BuildConfiguration buildConfiguration, PlanCreationService.EnablePlan enablePlan, boolean enableExpiry, @NotNull Consumer<PlanKey> branchPlanKeyConsumer, boolean expectingDivergentBranch, Optional<VcsPullRequest> pullRequest) @NotNull Collection<ChainBranchCreationResult>
LightweightBranchCreationService.createChainBranches
(@NotNull ImmutableChain chain, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull Collection<VcsBranch> branches, @NotNull PlanRepositoryDefinition defaultRepositoryDefinition, @Nullable ErrorCollection errorCollection, PlanCreationService.EnablePlan enablePlan, boolean enableExpiry, @NotNull Consumer<PlanKey> branchPlanKeyConsumer, boolean expectingDivergentBranch) Creates a new lightweight plan branch or enables existing one for each vcs branch in given collection under given chain.@NotNull Collection<ChainBranchCreationResult>
LightweightBranchCreationServiceImpl.createChainBranches
(@NotNull ImmutableChain chain, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull Collection<VcsBranch> branches, @NotNull PlanRepositoryDefinition defaultRepositoryDefinition, @Nullable ErrorCollection errorCollection, PlanCreationService.EnablePlan enablePlan, boolean enableExpiry, @NotNull Consumer<PlanKey> consumer, boolean expectingDivergentBranch) @NotNull List<ChainBranchCreationResult>
BranchCreationFacade.createManualBranches
(@NotNull ImmutableChain chain, @NotNull Collection<VcsBranch> branches, @Nullable ErrorCollection errorCollection, PlanCreationService.EnablePlan enablePlan) Given a list of branches names, create plan branches for them under give chain.@NotNull List<ChainBranchCreationResult>
BranchCreationFacadeImpl.createManualBranches
(@NotNull ImmutableChain chain, @NotNull Collection<VcsBranch> branches, @Nullable ErrorCollection errorCollection, PlanCreationService.EnablePlan enablePlan) @NotNull ChainBranchCreationResult
LightweightBranchCreationService.createOrEnableChainBranch
(@NotNull ImmutableChain chain, @NotNull PlanBranchWorkflow planBranchWorkflow, @Nullable String branchName, @NotNull Function<VcsBranchConfigurator, VcsBranch> vcsBranchProvider, @Nullable BuildConfiguration buildConfiguration, PlanCreationService.EnablePlan enablePlan, boolean enableExpiry, @NotNull Consumer<PlanKey> branchPlanKeyConsumer, boolean expectingDivergentBranch) Given a branch name and (optionally) vcs branch name, check if branch already exists.@NotNull ChainBranchCreationResult
LightweightBranchCreationService.createOrEnableChainBranch
(@NotNull ImmutableChain chain, @NotNull PlanBranchWorkflow planBranchWorkflow, @Nullable String branchName, @NotNull Function<VcsBranchConfigurator, VcsBranch> vcsBranchProvider, @Nullable BuildConfiguration buildConfiguration, PlanCreationService.EnablePlan enablePlan, boolean enableExpiry, @NotNull Consumer<PlanKey> branchPlanKeyConsumer, boolean expectingDivergentBranch, Optional<VcsPullRequest> pullRequest) Given a branch name and (optionally) vcs branch name, check if branch already exists.@NotNull ChainBranchCreationResult
LightweightBranchCreationServiceImpl.createOrEnableChainBranch
(@NotNull ImmutableChain chain, @NotNull PlanBranchWorkflow planBranchWorkflow, @Nullable String branchName, @NotNull Function<VcsBranchConfigurator, VcsBranch> vcsBranchProvider, @Nullable BuildConfiguration buildConfiguration, PlanCreationService.EnablePlan enablePlan, boolean enableExpiry, @NotNull Consumer<PlanKey> branchPlanKeyConsumer, boolean expectingDivergentBranch) @NotNull ChainBranchCreationResult
LightweightBranchCreationServiceImpl.createOrEnableChainBranch
(@NotNull ImmutableChain chain, @NotNull PlanBranchWorkflow planBranchWorkflow, @Nullable String branchName, @NotNull Function<VcsBranchConfigurator, VcsBranch> vcsBranchProvider, @Nullable BuildConfiguration buildConfiguration, PlanCreationService.EnablePlan enablePlan, boolean enableExpiry, @NotNull Consumer<PlanKey> branchPlanKeyConsumer, boolean expectingDivergentBranch, Optional<VcsPullRequest> pullRequest) void
VcsBranchDao.deleteAll
(ImmutableChain chain) void
VcsBranchHibernateDao.deleteAll
(ImmutableChain chain) void
VcsBranchManager.deleteAll
(@NotNull ImmutableChain chain) void
VcsBranchManagerImpl.deleteAll
(@NotNull ImmutableChain chain) void
BranchCreationFacade.enableExistingChainBranch
(@NotNull ImmutableChain masterChain, @NotNull ImmutableChainBranch existingChainBranch) Enables existing chain branch, queuing RSS execution if required.void
BranchCreationFacade.enableExistingChainBranch
(@NotNull ImmutableChain masterChain, @NotNull ImmutableChainBranch existingChainBranch, Optional<VcsPullRequest> pullRequest) Enables existing chain branch, queuing RSS execution if required.void
BranchCreationFacadeImpl.enableExistingChainBranch
(@NotNull ImmutableChain chain, @NotNull ImmutableChainBranch existingChainBranch) void
BranchCreationFacadeImpl.enableExistingChainBranch
(@NotNull ImmutableChain chain, @NotNull ImmutableChainBranch existingChainBranch, Optional<VcsPullRequest> pullRequest) @NotNull ChainBranchCreationResult
LightweightBranchCreationService.enableExistingChainBranch
(@NotNull ImmutableChain chain, @NotNull ImmutableChainBranch existingChainBranch, @NotNull VcsBranch vcsBranch, PlanCreationService.EnablePlan enablePlan, boolean expectingDivergentBranch) Enables existing chain branch.@NotNull ChainBranchCreationResult
LightweightBranchCreationServiceImpl.enableExistingChainBranch
(@NotNull ImmutableChain chain, @NotNull ImmutableChainBranch existingChainBranch, @NotNull VcsBranch vcsBranch, PlanCreationService.EnablePlan enablePlan, boolean expectingDivergentBranch) VcsBranchDao.findByChain
(@NotNull ImmutableChain chain) VcsBranchHibernateDao.findByChain
(@NotNull ImmutableChain chain) VcsBranchManager.findByChain
(@NotNull ImmutableChain chain) VcsBranchManagerImpl.findByChain
(@NotNull ImmutableChain chain) static @Nullable ImmutableJob
ChainBranchUtils.findJobByMasterId
(@NotNull ImmutableChain chain, long masterJobId) VcsBranchDao.findNotDeletedByChain
(@NotNull ImmutableChain chain) Given a chain, this will return a list ofBambooVcsBranch
of which Bamboo hasn't detected yet that they were deleted in the repository.VcsBranchHibernateDao.findNotDeletedByChain
(@NotNull ImmutableChain chain) VcsBranchManager.findNotDeletedByChain
(@NotNull ImmutableChain chain) Given a chain, this will return a list ofBambooVcsBranch
of which Bamboo hasn't detected yet that they were deleted in the repository.VcsBranchManagerImpl.findNotDeletedByChain
(@NotNull ImmutableChain chain) @NotNull List<ChainBranch>
ChainBranchManager.getBranchesForChain
(@NotNull ImmutableChain chain) Get all feature branches associated with the given chain@NotNull List<ChainBranch>
ChainBranchManagerImpl.getBranchesForChain
(@NotNull ImmutableChain chain) @Nullable ChainBranchIdentifier
ChainBranchManager.getBranchWithName
(ImmutableChain masterPlan, String branchName) ChainBranchManagerImpl.getBranchWithName
(ImmutableChain masterPlan, String branchName) BranchCreationFacade.getOpenBranches
(@NotNull ImmutableChain chain, @Nullable ErrorCollection errorCollection) Returns a list of currently open branches for the chain's default repository List ordering determined by underlying repository (preference is for native ordering e.g.BranchCreationFacade.getOpenBranches
(@NotNull ImmutableChain chain, @Nullable ErrorCollection errorCollection, @NotNull Optional<String> searchTerm) Returns a list of currently open branches for the chain's default repository List filtered by optional case-insensitive searchTerm.BranchCreationFacadeImpl.getOpenBranches
(@NotNull ImmutableChain chain, @Nullable ErrorCollection errorCollection) BranchCreationFacadeImpl.getOpenBranches
(@NotNull ImmutableChain chain, @Nullable ErrorCollection errorCollection, @NotNull Optional<String> searchTerm) void
ChainBranchManager.handleVcsBranchDeletedOfPlanBranch
(@NotNull ImmutableChain chainBranch, @NotNull PlanRepositoryDefinition planRepositoryDefinition) Handles deletion of a VCS branch from any of the plan branch's repositories.void
ChainBranchManager.handleVcsBranchDeletedOfPlanBranch
(ImmutableChain chainBranch) Handles deletion of a VCS branch from plan branch's default repository.void
ChainBranchManagerImpl.handleVcsBranchDeletedOfPlanBranch
(@NotNull ImmutableChain chainBranch, @NotNull PlanRepositoryDefinition planRepositoryDefinition) void
ChainBranchManagerImpl.handleVcsBranchDeletedOfPlanBranch
(ImmutableChain chainBranch) protected boolean
BranchMetadataBuildPermitter.isPermittedToExecuteImpl
(@NotNull ImmutableChain chain, @Nullable PlanResultKey resultKey, @NotNull ErrorCollection errorCollection) protected boolean
PluggablePlanExecutionPermitter.isPermittedToExecuteImpl
(@NotNull ImmutableChain chain, @Nullable PlanResultKey resultKey, @NotNull ErrorCollection errorCollection) boolean
ChainBranchManager.isPlanBranchNameConflicting
(ImmutableChain masterPlan, long chainBranchIdToIgnore, String branchName) Verifies whether aChainBranch
name is unique with a given masterChain
boolean
ChainBranchManagerImpl.isPlanBranchNameConflicting
(ImmutableChain masterPlan, long planIdToIgnore, String branchName) void
VcsBranchManager.saveAll
(@NotNull ImmutableChain chain, @NotNull Iterable<VcsBranch> requestedBranchesToSave) Deprecated.since 5.14 useVcsBranchManager.createAll(ImmutableChain, Iterable)
void
VcsBranchManagerImpl.saveAll
(@NotNull ImmutableChain chain, @NotNull Iterable<VcsBranch> vcsBranches) void
LightweightBranchCreationService.validateCreateChainBranch
(@NotNull ImmutableChain chain, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull String branchName, @Nullable String branchDescription, @Nullable PlanRepositoryDefinition defaultRepositoryDefinition, @Nullable VcsRepositoryModuleDescriptor moduleDescriptor, @Nullable VcsBranch newBranch, boolean enableExpiry, @NotNull com.atlassian.struts.ValidationAware validationAware) Validates configuration for creating chain branchvoid
LightweightBranchCreationServiceImpl.validateCreateChainBranch
(@NotNull ImmutableChain chain, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull String branchName, @Nullable String branchDescription, @Nullable PlanRepositoryDefinition defaultRepositoryDefinition, @Nullable VcsRepositoryModuleDescriptor moduleDescriptor, @Nullable VcsBranch newBranch, boolean enableExpiry, @NotNull com.atlassian.struts.ValidationAware validationAware) Modifier and TypeMethodDescriptionvoid
BranchCreationFacade.createOrEnableChainsBranches
(@NotNull List<ImmutableChain> chains, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull Function<VcsBranchConfigurator, VcsBranch> vcsBranchProvider, @NotNull Function<ImmutableChain, BuildConfiguration> buildConfigurationProvider, @NotNull Consumer<PlanKey> planBranchConsumer) Given a list of plans and a vcs branch creates plan branches for those chains, queuing RSS execution if required.void
BranchCreationFacade.createOrEnableChainsBranches
(@NotNull List<ImmutableChain> chains, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull Function<VcsBranchConfigurator, VcsBranch> vcsBranchProvider, @NotNull Function<ImmutableChain, BuildConfiguration> buildConfigurationProvider, @NotNull Consumer<PlanKey> planBranchConsumer, Optional<VcsPullRequest> pullRequest) Given a list of plans and a vcs branch creates plan branches for those chains, queuing RSS execution if required.void
BranchCreationFacadeImpl.createOrEnableChainsBranches
(@NotNull List<ImmutableChain> chains, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull Function<VcsBranchConfigurator, VcsBranch> vcsBranchProvider, @NotNull Function<ImmutableChain, BuildConfiguration> buildConfigurationProvider, @NotNull Consumer<PlanKey> planBranchConsumer) void
BranchCreationFacadeImpl.createOrEnableChainsBranches
(@NotNull List<ImmutableChain> chains, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull Function<VcsBranchConfigurator, VcsBranch> vcsBranchProvider, @NotNull Function<ImmutableChain, BuildConfiguration> buildConfigurationProvider, @NotNull Consumer<PlanKey> planBranchConsumer, Optional<VcsPullRequest> pullRequest) BranchDetectionService.getOpenBranches
(@NotNull VariableSubstitutor variableSubstitutor, @NotNull VcsRepositoryData vcsRepositoryData, @NotNull VcsBranchDetector branchDetector, @Nullable ErrorCollection errorCollection, @NotNull Iterable<ImmutableChain> chains) Returns a list of currently open branches for given repository.BranchDetectionServiceImpl.getOpenBranches
(@NotNull VariableSubstitutor variableSubstitutor, @NotNull VcsRepositoryData vcsRepositoryData, @NotNull VcsBranchDetector branchDetector, @Nullable ErrorCollection errorCollection, @NotNull Iterable<ImmutableChain> chains) ModifierConstructorDescriptionImmutableChainPropagatingFacade
(@NotNull CachedPlanManager cachedPlanManager, @NotNull ImmutableChain chain) -
Uses of ImmutableChain in com.atlassian.bamboo.plan.branch.cache
Modifier and TypeMethodDescriptionstatic ImmutableChainBranchImpl
ImmutableChainBranchImpl.createImmutableChainBranchBasedOnFlatData
(EnrichedPlanDto dto, List<FlatChainStageDto> chainStages, Map<Long, List<EnrichedPlanDto>> jobsGroupedByStageId, Map<Long, EnrichedPlanDto> jobsGroupedById, Pair<ImmutableChain, EnrichedPlanDto> masterWithMasterDto, BuildLoggerManager buildLoggerManager, ImmutablePlanCacheService immutablePlanCacheService, ImmutablePlanManager immutablePlanManager, InternalResultsSummaryAccessor immutableResultsSummaryAccessor, RepositoryDefinitionManager repositoryDefinitionManager, CachedRepositoryDefinitionManager cachedRepositoryDefinitionManager, VariableDefinitionManager variableDefinitionManager, BambooSpecsSourceDao bambooSpecsSourceDao, NotificationManager notificationManager, BuildDefinitionManager buildDefinitionManager) -
Uses of ImmutableChain in com.atlassian.bamboo.plan.cache
Modifier and TypeInterfaceDescriptioninterface
Interface of an immutable version ofChainBranch
interface
Represents aTopLevelPlan
that is immutable.Modifier and TypeMethodDescription@NotNull ImmutableChain
ImmutablePlanManager.createImmutableChain
(@NotNull Chain chain) @NotNull ImmutableChain
ImmutablePlanManagerImpl.createImmutableChain
(@NotNull Chain chain) @NotNull ImmutableChain
ImmutableResultsSummaryImpl.getImmutableChain()
@Nullable ImmutableChain
ImmutablePlanCacheService.getImmutableChainByKeyIfInCache
(@NotNull PlanKey planKey) @Nullable ImmutableChain
ImmutablePlanCacheServiceImpl.getImmutableChainByKeyIfInCache
(@NotNull PlanKey planKey) @Nullable ImmutableChain
ImmutablePlanCacheService.getImmutableChainByKeyIfInCacheWithConsistencyGuarantee
(@NotNull PlanKey planKey) @Nullable ImmutableChain
ImmutablePlanCacheServiceImpl.getImmutableChainByKeyIfInCacheWithConsistencyGuarantee
(@NotNull PlanKey planKey) @NotNull ImmutableChain
ImmutableResultsSummaryImpl.getImmutablePlan()
@Nullable ImmutableChain
ImmutablePlanCacheService.getImmutablePlanByKey
(@NotNull PlanKey planKey) Returns a plan if one exists with the key.@Nullable ImmutableChain
ImmutablePlanCacheServiceImpl.getImmutablePlanByKey
(@NotNull PlanKey planKey) @Nullable ImmutableChain
ImmutablePlanCacheService.getImmutablePlanByKeyWithConsistencyGuarantee
(@NotNull PlanKey planKey) Returns a plan if one exists with the key.@Nullable ImmutableChain
ImmutablePlanCacheServiceImpl.getImmutablePlanByKeyWithConsistencyGuarantee
(@NotNull PlanKey planKey) AbstractImmutableChain.getMaster()
@Nullable ImmutableChain
ImmutableChain.getMaster()
@Nullable ImmutableChain
CachedPlanManager.getMasterPlan
(@NotNull PlanKey branchKey) Returns master branch for a given branchKey.@Nullable ImmutableChain
CachedPlanManagerImpl.getMasterPlan
(@NotNull PlanKey branchKey) @NotNull ImmutableChain
ImmutableJob.getParent()
@NotNull ImmutableChain
ImmutableJobImpl.getParent()
@Nullable ImmutableChain
ImmutablePlanManager.getPlanByKey
(@NotNull PlanKey planKey) @Nullable ImmutableChain
ImmutablePlanManagerImpl.getPlanByKey
(@NotNull PlanKey planKey) Modifier and TypeMethodDescriptionCachedPlanManager.getAnyPlan
(Predicate<? super ImmutableChain> predicate) Returns a plan matching the supplied predicate, permission filtering is applied.CachedPlanManagerImpl.getAnyPlan
(Predicate<? super ImmutableChain> predicate) ImmutablePlanCacheService.getAnyPlan
(Predicate<? super ImmutableChain> predicate) Returns a plan matching the supplied predicateImmutablePlanCacheServiceImpl.getAnyPlan
(Predicate<? super ImmutableChain> predicate) CachedPlanManager.getAnyPlanUnrestricted
(Predicate<? super ImmutableChain> predicate) Returns a plan matching the supplied predicate.CachedPlanManagerImpl.getAnyPlanUnrestricted
(Predicate<? super ImmutableChain> predicate) CachedPlanManagerImpl.getFilteredPlansWithRepository
(PlanRepositoryIndex.Query query) @NotNull Stream<ImmutableChain>
ImmutablePlanCacheService.getImmutablePlansByKeysWithConsistencyGuarantee
(@NotNull Collection<PlanKey> planKeys, boolean onlyLoaded) Returns a stream of found plans for requestes plan keys.@NotNull Stream<ImmutableChain>
ImmutablePlanCacheService.getImmutablePlansByKeysWithConsistencyGuarantee
(@NotNull Collection<PlanKey> planKeys, boolean onlyLoaded, @NotNull Collection<PlanKey> whiteListedPlans) Returns a stream of found plans for requested plan keys.@NotNull Stream<ImmutableChain>
ImmutablePlanCacheServiceImpl.getImmutablePlansByKeysWithConsistencyGuarantee
(@NotNull Collection<PlanKey> planKeys, boolean onlyLoaded) @NotNull Stream<ImmutableChain>
ImmutablePlanCacheServiceImpl.getImmutablePlansByKeysWithConsistencyGuarantee
(@NotNull Collection<PlanKey> planKeys, boolean onlyLoaded, @NotNull Collection<PlanKey> whiteListedPlans) @NotNull Optional<ImmutableChain>
ImmutableResultsSummaryImpl.getPlanIfExists()
@NotNull List<ImmutableChain>
CachedPlanManager.getPlansByProjectUnrestricted
(Project project) Returns allImmutableChain
's filtered byProject
ignoring permissions.@NotNull List<ImmutableChain>
CachedPlanManagerImpl.getPlansByProjectUnrestricted
(Project project) @NotNull List<ImmutableChain>
CachedPlanManager.getPlansByProjectUnrestrictedWithConsistencyGuarantee
(Project project) Returns allImmutableChain
's filtered byProject
ignoring permissions.@NotNull List<ImmutableChain>
CachedPlanManagerImpl.getPlansByProjectUnrestrictedWithConsistencyGuarantee
(Project project) @NotNull List<ImmutableChain>
CachedPlanManagerImpl.getPlansForClone()
CachedPlanManager.getPlansWithRepository
(PlanRepositoryIndex.Query query) Returns chains that use repositories with given params.CachedPlanManagerImpl.getPlansWithRepository
(PlanRepositoryIndex.Query query) CachedPlanManager.getPlansWithRepositoryWithConsistencyGuarantee
(PlanRepositoryIndex.Query query) Returns chains that use repositories with given params.CachedPlanManagerImpl.getPlansWithRepositoryWithConsistencyGuarantee
(@NotNull PlanRepositoryIndex.Query query) @NotNull List<ImmutableChain>
ImmutablePlanManager.loadAllPlans
(ForkJoinPool executorService) Get all available plans.@NotNull List<ImmutableChain>
ImmutablePlanManagerImpl.loadAllPlans
(ForkJoinPool executorService) Modifier and TypeMethodDescription@NotNull ImmutableJob
ImmutablePlanManager.createImmutableJob
(@NotNull ImmutableChain parent, @NotNull ImmutableChainStage stage, @NotNull Job job) @NotNull ImmutableJob
ImmutablePlanManagerImpl.createImmutableJob
(@NotNull ImmutableChain parent, @NotNull ImmutableChainStage stage, @NotNull Job job) @NotNull ImmutableJob
ImmutablePlanManager.createImmutableJobBasedOnDto
(@NotNull ImmutableChain parent, @NotNull ImmutableChainStage stage, @NotNull EnrichedPlanDto job, @NotNull Map<Long, EnrichedPlanDto> jobsGroupedById, boolean isLightWeight) Create immutableImmutableJob
.@NotNull ImmutableJob
ImmutablePlanManagerImpl.createImmutableJobBasedOnDto
(@NotNull ImmutableChain parent, @NotNull ImmutableChainStage stage, @NotNull EnrichedPlanDto jobDto, @NotNull Map<Long, EnrichedPlanDto> jobsGroupedById, boolean isLightWeight) static ImmutableJobImpl
ImmutableJobImpl.createImmutableJobBasedOnFlatData
(ImmutableChain parent, ImmutableChainStage stage, EnrichedPlanDto dto, BuildLoggerManager buildLoggerManager, VariableDefinitionManager variableDefinitionManager, TaskManager taskManager, InternalResultsSummaryAccessor immutableResultsSummaryAccessor, ImmutableArtifactManager immutableArtifactManager, RequirementManager requirementManager, BuildDefinitionManager buildDefinitionManager, Map<Long, EnrichedPlanDto> jobsGroupedById, boolean isLightWeight) ImmutablePlanManager.createImmutableStage
(@NotNull ImmutableChain parent, @NotNull ChainStage stage) Create immutableChainStage
.ImmutablePlanManagerImpl.createImmutableStage
(@NotNull ImmutableChain parent, @NotNull ChainStage stage) @NotNull ImmutableChainStage
ImmutablePlanManager.createImmutableStageBasedOnDto
(@NotNull ImmutableChain parent, @NotNull FlatChainStageDto stage, @NotNull Map<Long, List<EnrichedPlanDto>> jobsGroupedByStageId, @NotNull Map<Long, EnrichedPlanDto> jobsGroupedById, boolean isLightWeight) Create immutableChainStage
.@NotNull ImmutableChainStage
ImmutablePlanManagerImpl.createImmutableStageBasedOnDto
(@NotNull ImmutableChain parent, @NotNull FlatChainStageDto stageDto, @NotNull Map<Long, List<EnrichedPlanDto>> jobsGroupedByStageId, @NotNull Map<Long, EnrichedPlanDto> jobsGroupedById, boolean isLightWeight) @Nullable ImmutableResultsSummary
ImmutablePlanManager.getLatestResultForPlan
(@NotNull ImmutableChain immutableChain) @Nullable ImmutableResultsSummary
ImmutablePlanManagerImpl.getLatestResultForPlan
(@NotNull ImmutableChain immutableChain) void
ImmutablePlanCacheService.indexPlan
(@NotNull ImmutableChain plan) Updates plan indexes in cachevoid
ImmutablePlanCacheServiceImpl.indexPlan
(@NotNull ImmutableChain plan) Modifier and TypeMethodDescriptionCachedPlanManager.getAnyPlan
(Predicate<? super ImmutableChain> predicate) Returns a plan matching the supplied predicate, permission filtering is applied.CachedPlanManagerImpl.getAnyPlan
(Predicate<? super ImmutableChain> predicate) ImmutablePlanCacheService.getAnyPlan
(Predicate<? super ImmutableChain> predicate) Returns a plan matching the supplied predicateImmutablePlanCacheServiceImpl.getAnyPlan
(Predicate<? super ImmutableChain> predicate) CachedPlanManager.getAnyPlanUnrestricted
(Predicate<? super ImmutableChain> predicate) Returns a plan matching the supplied predicate.CachedPlanManagerImpl.getAnyPlanUnrestricted
(Predicate<? super ImmutableChain> predicate) void
ImmutablePlanCacheService.CacheInvalidator.getChainsToInvalidateAndReindex
(@NotNull ImmutablePlanCacheService immutablePlanCacheService, @NotNull com.google.common.cache.Cache<PlanKey, ImmutableChain> planKeyChainMap, @NotNull PlanCacheIndices planCacheIndices, @NotNull Set<PlanKey> chainsToInvalidate, @NotNull Set<PlanKey> chainsToReindex) Guidelines: if the entity for which invalidation is triggered is not in index, only invalidate.ModifierConstructorDescriptionImmutableJobImpl
(ImmutableChain parent, ImmutableChainStage stage, Job job, BuildLoggerManager buildLoggerManager, LabelDao labelDao, VariableDefinitionManager variableDefinitionManager, TaskManager taskManager, InternalResultsSummaryAccessor immutableResultsSummaryAccessor, BuildDefinition buildDefinition, CachedPlanManager cachedPlanManager, ImmutableArtifactManager immutableArtifactManager) ImmutableJobImpl
(ImmutableChain parent, ImmutableChainStage stage, EnrichedPlanDto dto, BuildLoggerManager buildLoggerManager, VariableDefinitionManager variableDefinitionManager, TaskManager taskManager, InternalResultsSummaryAccessor immutableResultsSummaryAccessor, ImmutableArtifactManager immutableArtifactManager, RequirementManager requirementManager, BuildDefinitionManager buildDefinitionManager, Map<Long, EnrichedPlanDto> jobsGroupedById, boolean isLightWeight) ImmutableResultsSummaryImpl
(ChainResultsSummary summary, TriggerManager triggerManager, ImmutablePlanManager immutablePlanManager, ImmutableChain immutableChain) ModifierConstructorDescriptionAbstractImmutableChain
(EnrichedPlanDto dto, Pair<ImmutableChain, EnrichedPlanDto> masterWithMasterDto, List<FlatChainStageDto> chainStages, Map<Long, List<EnrichedPlanDto>> jobsGroupedByStageId, Map<Long, EnrichedPlanDto> jobsGroupedById, BuildLoggerManager buildLoggerManager, ImmutablePlanCacheService immutablePlanCacheService, ImmutablePlanManager immutablePlanManager, InternalResultsSummaryAccessor immutableResultsSummaryAccessor, RepositoryDefinitionManager repositoryDefinitionManager, CachedRepositoryDefinitionManager cachedRepositoryDefinitionManager, VariableDefinitionManager variableDefinitionManager, BambooSpecsSourceDao bambooSpecsSourceDao, NotificationManager notificationManager, BuildDefinitionManager buildDefinitionManager) -
Uses of ImmutableChain in com.atlassian.bamboo.plan.cache.index
Modifier and TypeMethodDescriptionvoid
PlanBranchCacheIndexer.addToIndex
(@NotNull ImmutableChain chain) void
PlanCacheIndexer.addToIndex
(@NotNull ImmutableChain chain) Index plan.void
PlanCacheIndicesImpl.addToIndex
(@NotNull ImmutableChain chain) void
PlanIdCacheIndexer.addToIndex
(@NotNull ImmutableChain chain) void
PlanProjectIndexer.addToIndex
(@NotNull ImmutableChain chain) void
PlanRepositoryIndexer.addToIndex
(@NotNull ImmutableChain chain) void
PlanBranchCacheIndexer.index
(@NotNull ImmutableChain chain) void
PlanCacheIndexer.index
(@NotNull ImmutableChain chain) Reindex plan.void
PlanCacheIndicesImpl.index
(@NotNull ImmutableChain plan) void
PlanIdCacheIndexer.index
(@NotNull ImmutableChain chain) void
PlanProjectIndexer.index
(@NotNull ImmutableChain chain) void
PlanRepositoryIndexer.index
(@NotNull ImmutableChain chain) -
Uses of ImmutableChain in com.atlassian.bamboo.plan.execution
Modifier and TypeMethodDescriptionboolean
PlanExecutionGuard.isPermittedToExecute
(@NotNull ImmutableChain chain, @NotNull ErrorCollection errorCollection) Checks a condition in order to determine if the plan can be executed.protected boolean
UniqueRunPerKeyPlanExecutionPermitter.isPermittedToExecuteImpl
(@NotNull ImmutableChain chain, @Nullable PlanResultKey resultKey, @NotNull ErrorCollection errorCollection) -
Uses of ImmutableChain in com.atlassian.bamboo.plan.pullrequest
Modifier and TypeMethodDescription@NotNull List<VcsPullRequest>
PullRequestDetectionService.getOpenPullRequests
(@NotNull ImmutableChain chain, @NotNull VcsRepositoryData planRepositoryDefinition) Returns a list of currently open pull requests for the chain's default repository List ordering determined by underlying repository (preference is for native ordering e.g.@NotNull List<VcsPullRequest>
PullRequestDetectionServiceImpl.getOpenPullRequests
(@NotNull ImmutableChain chain, @NotNull VcsRepositoryData planRepositoryDefinition) boolean
PullRequestDetectionService.schedulePullRequestDetectionForChain
(@NotNull ImmutableChain chain) Registers PR detection request for a given Chain.boolean
PullRequestDetectionServiceImpl.schedulePullRequestDetectionForChain
(@NotNull ImmutableChain chain) -
Uses of ImmutableChain in com.atlassian.bamboo.plugins.bitbucket.events
Modifier and TypeMethodDescriptionprotected boolean
BitbucketBuildStatusUpdater.isPlanRelevant
(@NotNull ImmutableChain immutableChain) -
Uses of ImmutableChain in com.atlassian.bamboo.plugins.github
Modifier and TypeMethodDescriptionprotected boolean
GithubBuildStatusUpdater.isPlanRelevant
(@NotNull ImmutableChain immutableChain) -
Uses of ImmutableChain in com.atlassian.bamboo.plugins.jira.rest.model.build
Modifier and TypeMethodDescriptionstatic Function<io.atlassian.fugue.Pair<ImmutableChain,
ChainResultsSummary>, PlanSummary> PlanSummary.createPlanSummary
(@NotNull ArtifactLinkManager artifactLinkManager, @NotNull CustomVariableContext customVariableContext, @NotNull Map<PlanResultKey, PlanResultKey> buildFixesBuildMap, @NotNull String baseUrl) ModifierConstructorDescriptionPlanSummary
(@NotNull ImmutableChain chain, @NotNull ChainResultsSummary chainResultsSummary, @NotNull ArtifactLinkManager artifactLinkManager, @NotNull CustomVariableContext customVariableContext, @NotNull Map<PlanResultKey, PlanResultKey> buildFixesBuildMap, @NotNull String baseUrl) -
Uses of ImmutableChain in com.atlassian.bamboo.plugins.maven
Modifier and TypeMethodDescriptionstatic boolean
MavenFunctions.planHasAutomaticDependencyManagementEnabled
(ImmutableChain chain) -
Uses of ImmutableChain in com.atlassian.bamboo.plugins.maven.dependencies
Modifier and TypeMethodDescriptionstatic @Nullable ImmutableJob
MavenDependencyHelper.findDependencyProviderJob
(@NotNull ImmutableChain chain) Search for a Job that could be a Maven dependencies provider (uses a MavenDependenciesProcessor task) -
Uses of ImmutableChain in com.atlassian.bamboo.plugins.rest.plan
Modifier and TypeMethodDescription@NotNull RestPlanConfig
PlanConversionFunction.apply
(@NotNull ImmutableChain plan, @NotNull Expansion expansion, @NotNull javax.ws.rs.core.UriInfo uriInfo) -
Uses of ImmutableChain in com.atlassian.bamboo.plugins.rest.service
Modifier and TypeMethodDescription@NotNull ImmutableChain
PlanRestService.getChainByKey
(@NotNull PlanKey planKey) Returns aPlan
if plan exists and is visible for calling user@NotNull ImmutableChain
PlanRestServiceImpl.getChainByKey
(@NotNull PlanKey planKey) -
Uses of ImmutableChain in com.atlassian.bamboo.plugins.stash
Modifier and TypeMethodDescriptionprotected boolean
BitbucketServerBuildStatusUpdater.isPlanRelevant
(@NotNull ImmutableChain immutableChain) -
Uses of ImmutableChain in com.atlassian.bamboo.plugins.stash.predicates
Modifier and TypeMethodDescriptionstatic Predicate<ImmutableChain>
StashRepositoryPredicates.branchMonitoringConfigurationMatchesBranchName
(@NotNull String vcsBranchName) Predicate that is fulfilled when plan has automatic branch management enabledstatic Predicate<ImmutableChain>
StashRepositoryPredicates.defaultRepositoryMatchesQuery
(@NotNull CustomVariableContext customVariableContext, @NotNull com.atlassian.stash.rest.client.applinks.ApplinkStashClientFactory applinkStashClientFactory, PlanRepositoryIndex.Query query, @NotNull String mirrorId) Predicate that is fulfilled when chain has default repository matching query. -
Uses of ImmutableChain in com.atlassian.bamboo.project
Modifier and TypeMethodDescriptionProjectPredicates.withPlansThat
(@NotNull CachedPlanManager cachedPlanManager, Predicate<? super ImmutableChain> planFilter) Returns predicate that filters project containing plans that match given plan predicate. -
Uses of ImmutableChain in com.atlassian.bamboo.repository
Modifier and TypeMethodDescriptionstatic @NotNull PlanRepositoryLinkDto
PlanRepositoryLinkDtoImpl.createFromPlanRepositoryDefinition
(@NotNull ImmutableChain owner, @NotNull PlanRepositoryDefinition rd) -
Uses of ImmutableChain in com.atlassian.bamboo.resultsummary
Modifier and TypeMethodDescription@NotNull ImmutableChain
BuildResultsSummaryImpl.getImmutableChain()
@NotNull ImmutableChain
ImmutableResultsSummary.getImmutableChain()
Gets theImmutableChain
that this result belongs to (directly or not) -
Uses of ImmutableChain in com.atlassian.bamboo.resultsummary.tests
Modifier and TypeMethodDescriptionint
TestCaseDao.countCurrentlyQuarantinedTests
(ImmutableChain chain) int
TestCaseHibernateDao.countCurrentlyQuarantinedTests
(ImmutableChain chain) int
TestQuarantineManager.countCurrentlyQuarantinedTests
(ImmutableChain chain) Returns the number of tests current qurantined for this planint
TestQuarantineManagerImpl.countCurrentlyQuarantinedTests
(ImmutableChain chain) TestQuarantineManager.getCurrentlyQuarantinedTests
(@NotNull ImmutableChain chain) Get a list ofTestCase
of all the tests currently quarantined for a given planTestQuarantineManagerImpl.getCurrentlyQuarantinedTests
(@NotNull ImmutableChain chain) TestCaseDao.getQuarantinedTestCasesForChain
(@NotNull ImmutableChain chain) Provide a list of the quarantined tests for a jobTestCaseHibernateDao.getQuarantinedTestCasesForChain
(@NotNull ImmutableChain chain) -
Uses of ImmutableChain in com.atlassian.bamboo.tag.service
Modifier and TypeMethodDescriptionTagBuildActionFactoryImpl.createTagBuildAction
(ImmutableChain chain, TagAndRevision tag) -
Uses of ImmutableChain in com.atlassian.bamboo.trigger.cron
Modifier and TypeMethodDescriptionvoid
CronTriggerConfigurator.onDeploymentProjectPlanUpdate
(@Nullable ImmutableChain oldPlan, @NotNull ImmutableChain newPlan, @NotNull TriggerDefinition triggerDefinition) void
CronTriggerConfigurator.validateDeploymentProjectPlanUpdate
(@Nullable ImmutableChain oldPlan, @NotNull ImmutableChain newPlan, @NotNull Environment environment, @NotNull List<EnvironmentTriggerValidationError> triggerValidationErrors, @NotNull TriggerDefinition triggerDefinition) -
Uses of ImmutableChain in com.atlassian.bamboo.trigger.dependency
Modifier and TypeMethodDescriptionvoid
AfterSuccessfulPlanTriggerConfigurator.onDeploymentProjectPlanUpdate
(@Nullable ImmutableChain oldPlan, @NotNull ImmutableChain newPlan, @NotNull TriggerDefinition triggerDefinition) void
AfterSuccessfulStageTriggerConfigurator.onDeploymentProjectPlanUpdate
(@Nullable ImmutableChain oldPlan, @NotNull ImmutableChain newPlan, @NotNull TriggerDefinition triggerDefinition) void
AfterSuccessfulPlanTriggerConfigurator.validateDeploymentProjectPlanUpdate
(@Nullable ImmutableChain oldPlan, @NotNull ImmutableChain newPlan, @NotNull Environment environment, @NotNull List<EnvironmentTriggerValidationError> triggerValidationErrors, @NotNull TriggerDefinition triggerDefinition) void
AfterSuccessfulStageTriggerConfigurator.validateDeploymentProjectPlanUpdate
(@Nullable ImmutableChain oldPlan, @NotNull ImmutableChain newPlan, @NotNull Environment environment, @NotNull List<EnvironmentTriggerValidationError> triggerValidationErrors, @NotNull TriggerDefinition triggerDefinition) -
Uses of ImmutableChain in com.atlassian.bamboo.utils
Modifier and TypeMethodDescriptionstatic <T extends ImmutableChain>
@NotNull com.google.common.collect.Ordering<T>Comparators.getTopLevelPlanNameProviderCaseInsensitiveOrdering()
Modifier and TypeMethodDescriptionstatic Predicate<PlanRepositoryDefinition>
BambooPredicates.isChainTrigger
(@NotNull ImmutableChain chain, @Nullable Set<Long> triggeringRepositories) -
Uses of ImmutableChain in com.atlassian.bamboo.v2.trigger
Modifier and TypeFieldDescriptionprotected final ImmutableChain
AbstractDependentDetectionAction.chain
protected final ImmutableChain
AbstractDependentDetectionAction.parentChain
Modifier and TypeMethodDescription@NotNull BuildChanges
ChangeDetectionManager.collectAllChangesSinceLastBuild
(@NotNull ImmutableChain chain, @Nullable Map<String, String> customVariableValues, @Nullable String customRevision) Collect changes for a plan since the last build, regardless of whether the build triggering repositories have changes or not.default BuildChanges
ChangeDetectionManager.collectAllChangesSinceLastBuild
(@NotNull ImmutableChain chain, @Nullable Map<String, String> customVariableValues, @Nullable String customRevision, PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions) Collect changes for a plan since the last build, regardless of whether the build triggering repositories have changes or not.@NotNull BuildChanges
DefaultChangeDetectionManager.collectAllChangesSinceLastBuild
(@NotNull ImmutableChain chain, @Nullable Map<String, String> customVariableValues, @Nullable String customRevision) DefaultChangeDetectionManager.collectAllChangesSinceLastBuild
(@NotNull ImmutableChain chain, @Nullable Map<String, String> customVariableValues, @Nullable String customRevision, PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions) @NotNull BuildRepositoryChanges
ChangeDetectionManager.collectChangesBetween
(@NotNull ImmutableChain chain, @NotNull PlanRepositoryDefinition repositoryDefinition, @Nullable PlanVcsRevisionData fromVcsRevisionData, @NotNull PlanVcsRevisionData toVcsRevisionData) Given aPlanRepositoryDefinition
finds theBuildChanges
object that captures all changes that occurred between the fromVcsRevisionKey to toVcsRevisionKey This method suppresses quiet period settings and returns changes immediately.@NotNull BuildRepositoryChanges
DefaultChangeDetectionManager.collectChangesBetween
(@NotNull ImmutableChain chain, @NotNull PlanRepositoryDefinition repositoryDefinition, @Nullable PlanVcsRevisionData fromVcsRevisionData, @NotNull PlanVcsRevisionData toVcsRevisionData) @NotNull BuildRepositoryChanges
ChangeDetectionManager.collectChangesSinceLastBuild
(@NotNull ImmutableChain chain, @NotNull PlanRepositoryDefinition repositoryDefinition, @NotNull PlanVcsRevisionData lastVcsRevisionData, @Nullable Map<String, String> customVariableValues, @Nullable String customRevision) Given aPlanRepositoryDefinition
finds theBuildRepositoryChanges
object that captures all changes that occurred since the lastVcsRevisionKey to the current latest found on the repository.@NotNull BuildRepositoryChanges
DefaultChangeDetectionManager.collectChangesSinceLastBuild
(@NotNull ImmutableChain chain, @NotNull PlanRepositoryDefinition repositoryDefinition, @NotNull PlanVcsRevisionData lastVcsRevisionData, @Nullable Map<String, String> customVariableValues, @Nullable String customRevision) @NotNull BuildChanges
ChangeDetectionManager.collectChangesSinceLastBuildIfTriggered
(@NotNull ImmutableChain chain, @Nullable Map<String, String> customVariableValues, @Nullable Set<Long> triggeringRepositories) Collect changes for a plan since the last build.default @NotNull BuildChanges
ChangeDetectionManager.collectChangesSinceLastBuildIfTriggered
(@NotNull ImmutableChain chain, @Nullable Map<String, String> customVariableValues, @Nullable Set<Long> triggeringRepositories, PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions) Collect changes for a plan since the last build.@NotNull BuildChanges
DefaultChangeDetectionManager.collectChangesSinceLastBuildIfTriggered
(@NotNull ImmutableChain chain, @Nullable Map<String, String> customVariableValues, @Nullable Set<Long> triggeringRepositories) @NotNull BuildChanges
DefaultChangeDetectionManager.collectChangesSinceLastBuildIfTriggered
(@NotNull ImmutableChain chain, @Nullable Map<String, String> customVariableValues, @Nullable Set<Long> triggeringRepositories, PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions) protected @NotNull BuildRepositoryChanges
DefaultChangeDetectionManager.collectChangesSinceLastBuildInternal
(@NotNull ImmutableChain chain, @NotNull PlanRepositoryDefinition repositoryDefinition, @NotNull PlanVcsRevisionData lastVcsRevisionData, @Nullable Map<String, String> customVariableValues, @Nullable String customRevision, boolean isBuildTrigger, boolean suppressQuietPeriod) void
ChangeDetectionManager.updateIntegrationRepositoryDetails
(ImmutableChain chain, BuildChanges buildChanges) void
DefaultChangeDetectionManager.updateIntegrationRepositoryDetails
(ImmutableChain chain, BuildChanges buildChanges) ModifierConstructorDescriptionAbstractDependentDetectionAction
(ImmutableChain chain, ImmutableChain parentChain, BuildContext completedBuildContext, ErrorUpdateHandler errorUpdateHandler, TriggerManager triggerManager, ChangeDetectionManager changeDetectionManager, BuildNumberGeneratorService buildNumberGeneratorService, BuildLoggerManager buildLoggerManager, PlanVcsRevisionHistoryService planVcsRevisionHistoryService, BuildContextBuilderFactory buildContextBuilderFactory, CustomVariableContext customVariableContext, VcsRepositoryManager vcsRepositoryManager) ContinuedBuildDetectionAction
(ImmutableChain chain, @NotNull PlanExecutionConfig planExecutionConfig, com.atlassian.user.User user, TriggerReason triggerReason, Map<String, String> params, Map<String, String> variables, ErrorUpdateHandler errorUpdateHandler, ResultsSummaryManager resultsSummaryManager, TriggerManager triggerManager, BranchIntegrationService branchIntegrationService, BuildContextBuilderFactory buildContextBuilderFactory, ResultsSummaryVariableAccessor resultsSummaryVariableAccessor, VcsRepositoryManager vcsRepositoryManager) DependentBuildDetectionAction
(ImmutableChain chain, ImmutableChain parentChain, BuildContext completedBuildContext, ErrorUpdateHandler errorUpdateHandler, TriggerManager triggerManager, ChangeDetectionManager changeDetectionManager, BuildNumberGeneratorService buildNumberGeneratorService, BuildLoggerManager buildLoggerManager, PlanVcsRevisionHistoryService planVcsRevisionHistoryService, BuildContextBuilderFactory buildContextBuilderFactory, CustomVariableContext customVariableContext, VcsRepositoryManager vcsRepositoryManager) InitialBuildDetectionAction
(@NotNull ImmutableChain chain, @NotNull TriggerManager triggerManager, @NotNull BuildContextBuilderFactory buildContextBuilderFactory, @NotNull BuildNumberGeneratorService buildNumberGenerator, @NotNull ErrorUpdateHandler errorUpdateHandler, @NotNull ChangeDetectionManager changeDetectionManager) ManualBuildDetectionAction
(ImmutableChain chain, com.atlassian.user.User user, @Nullable PlanExecutionConfig planExecutionConfig, Map<String, String> params, Map<String, String> variables, BuildNumberGeneratorService buildNumberGenerator, ChangeDetectionManager changeDetectionManager, TriggerManager triggerManager, ErrorUpdateHandler errorUpdateHandler, VariableDefinitionManager variableDefinitionManager, BuildContextBuilderFactory buildContextBuilderFactory) PluginTriggerBuildDetectionAction
(@NotNull PlanVcsRevisionHistoryService planVcsRevisionHistoryService, @NotNull BuildNumberGeneratorService buildNumberGenerator, @NotNull VariableDefinitionManager variableDefinitionManager, @NotNull BuildContextBuilderFactory buildContextBuilderFactory, @NotNull ImmutableChain chain, @Nullable PlanExecutionConfig planExecutionConfig, @NotNull TriggerReason triggerReason, @NotNull PlanTrigger buildTrigger, @NotNull Map<String, String> params, @NotNull Map<String, String> variables) ScheduledBuildDetectionAction
(@NotNull ChangeDetectionManager changeDetectionManager, @NotNull TriggerManager triggerManager, @NotNull BuildNumberGeneratorService buildNumberGenerator, @NotNull BuildLoggerManager buildLoggerManager, @NotNull ImmutableChain chain, @NotNull Map<String, String> triggerConditionsConfiguration, @NotNull Map<String, String> triggerConfiguration, @NotNull BuildContextBuilderFactory buildContextBuilderFactory) TagBuildAction
(ImmutableChain chain, TagAndRevision tagAndRevision, ChangeDetectionManager changeDetectionManager, BuildNumberGeneratorService buildNumberGeneratorService, BuildContextBuilderFactory buildContextBuilderFactory, BuildLoggerManager buildLoggerManager, TriggerManager triggerManager) -
Uses of ImmutableChain in com.atlassian.bamboo.validation
Modifier and TypeMethodDescription@NotNull ValidationFunction
ValidationFunctionFactory.isJobKeyFromChain
(@NotNull ImmutableChain chain) Validation function that verifies if a job key belongs to a specificImmutableChain
.@NotNull ValidationFunction
ValidationFunctionFactoryImpl.isJobKeyFromChain
(@NotNull ImmutableChain chain) -
Uses of ImmutableChain in com.atlassian.bamboo.webwork
Modifier and TypeMethodDescriptionprotected <T extends ImmutableChain>
@NotNull List<T>StarterAction.filterPlansByLabel
(List<T> plans, List<String> theLabelNames) protected <T extends ImmutableChain>
List<T>StarterAction.getPlansWithCheckProjectPermissionFirst
(Class<T> clazz) Optimized version ofFilteringPlanManager.getPlans()
Modifier and TypeMethodDescriptionStarterAction.getChains()
StarterAction.getFavouriteBuilds()
Collection<? extends ImmutableChain>
ViewTelemetryAction.getFilteredBuilds()
@NotNull Iterable<? extends ImmutableChain>
ViewTelemetryAction.getPlansByDashboardFilter()
@NotNull Collection<? extends ImmutableChain>
StarterAction.getPlansByLabel()
-
Uses of ImmutableChain in com.atlassian.bamboo.ww2
-
Uses of ImmutableChain in com.atlassian.bamboo.ww2.actions
Modifier and TypeMethodDescriptionChainActionSupport.getImmutableChain()
ChainAwareContextHolder.getImmutableChain()
Modifier and TypeMethodDescriptionvoid
ChainActionSupport.setChain
(ImmutableChain chain) void
ChainAwareContextHolder.setChain
(ImmutableChain chain) -
Uses of ImmutableChain in com.atlassian.bamboo.ww2.actions.build.admin.create
Modifier and TypeMethodDescription@NotNull Collection<ImmutableChain>
CreateChain.getPlansToClone()
-
Uses of ImmutableChain in com.atlassian.bamboo.ww2.actions.chains
-
Uses of ImmutableChain in com.atlassian.bamboo.ww2.actions.project
-
Uses of ImmutableChain in com.atlassian.bamboo.ww2.aware
-
Uses of ImmutableChain in com.atlassian.bamboo.ww2.beans
Modifier and TypeMethodDescription@Nullable String
DecoratedNavObjectFactory.getSubstitutedBranchName
(@NotNull ImmutableChain chain) Gets the branch name from the default repository if the chain has one.@Nullable String
DecoratedNavObjectFactoryImpl.getSubstitutedBranchName
(@NotNull ImmutableChain chain)
BuildResultsAction.getImmutableChain()