| Modifier and Type | Method and Description |
|---|---|
BuildDetectionAction |
BuildDetectionActionFactory.createBuildDetectionActionForPluginBuildTrigger(ImmutableChain chain,
PlanExecutionConfig planExecutionConfig,
TriggerReason triggerReason,
PlanTrigger buildTrigger,
Map<String,String> params,
Map<String,String> variables)
|
BuildDetectionAction |
BuildDetectionActionFactory.createDependentBuildDetectionAction(ImmutableChain chain,
ImmutableChain parentChain,
BuildContext completedBuildContext)
Creates a new instance of
BuildDetectionAction that is used to trigger dependent builds |
BuildDetectionAction |
BuildDetectionActionFactory.createInitialBuildDetectionAction(ImmutableChain chain)
Creates a new instance of
BuildDetectionAction that is used to execute the initial build for a Plan |
BuildDetectionAction |
BuildDetectionActionFactory.createManualBuildDetectionAction(ImmutableChain chain,
com.atlassian.user.User user,
Map<String,String> params,
Map<String,String> variables)
Creates a new instance of
BuildDetectionAction that can be used to start the manual execution of Plan |
BuildDetectionAction |
BuildDetectionActionFactory.createManualBuildDetectionAction(ImmutableChain chain,
com.atlassian.user.User user,
PlanExecutionConfig planExecutionConfig,
Map<String,String> params,
Map<String,String> variables)
Creates a new instance of
BuildDetectionAction that can be used to start the manual execution of Plan when manual stage is meant to continue build or build is restarted |
BuildDetectionAction |
BuildDetectionActionFactory.createManualBuildDetectionAction(ImmutableChain chain,
com.atlassian.user.User user,
TriggerReason triggerReason,
PlanTrigger planTrigger,
PlanExecutionConfig planExecutionConfig,
Map<String,String> params,
Map<String,String> variables)
Creates a new instance of
BuildDetectionAction that can be used to start the manual execution of Plan when manual stage is meant to continue build or build is restarted |
BuildDetectionAction |
BuildDetectionActionFactory.createScheduledBuildDetectionAction(ImmutableChain chain,
Map<String,String> triggerConditionsConfiguration)
Creates a new instance of
BuildDetectionAction that can be used to start the scheduled execution of
Plan |
| Modifier and Type | Method and Description |
|---|---|
void |
PlanValidationServiceXWork1.validateNewPlanBranchForMaster(com.opensymphony.xwork.ValidationAware validationAware,
ImmutableChain masterChain,
String branchName)
Deprecated.
since 5.1
|
void |
PlanValidationService.validateNewPlanBranchForMaster(com.atlassian.struts.ValidationAware validationAware,
ImmutableChain masterChain,
String branchName)
Validate that new plan branch name (only) is unique within a set of branches with a common master
|
| Modifier and Type | Method and Description |
|---|---|
ImmutableChain |
DashboardCachingManager.getPlan(PlanKey planKey)
Returns the cached plan for a given planKey
|
| Modifier and Type | Method and Description |
|---|---|
List<ImmutableChain> |
DashboardCachingManager.getAllChains()
Returns all chains (including chain branches) in the system
|
com.google.common.collect.ImmutableCollection<ImmutableChain> |
DashboardCachingManager.getAllTopLevelPlansUnsorted() |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Chain
Mutable version of
ImmutableChain. |
| Modifier and Type | Method and Description |
|---|---|
ImmutableChain |
ChainResultsSummary.getImmutablePlan() |
| Modifier and Type | Method and Description |
|---|---|
Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> |
BuildContextFactory.createBuildContextsForJobs(ImmutableChain chain,
BuildContext parentBuildContext)
|
Collection<BuildContext> |
BuildContextFactory.createBuildContextsForRestartedOrRerunBuild(ImmutableChain chain,
ChainResultsSummary chainResultsSummary,
BuildContext parentBuildContext,
PlanExecutionConfig planExecutionConfig)
Creates a
BuildContext for each not built or failed Job in the Chain that was partially executed or is restarted
for example with "re-run this build" action or with "continue manual stage" action, or "re-run failed jobs" action, etc |
ChainStateCreationRequestResult |
ChainExecutionManager.createChainStateNoDetection(ImmutableChain chain,
UnconditionalBuildDetectionAction buildDetectionAction)
Create a chain state ready for building but dont actually build.
|
ChainExecutionRequestResult |
ChainExecutionManager.delayedStart(ImmutableChain chain,
UnconditionalBuildDetectionAction buildDetectionAction,
ChainState chainState)
Starts the Chain if it's been created already
|
boolean |
ChainPluginSupport.shouldStopExecution(ImmutableChain chain,
Map<String,String> triggerConditionsConfiguration)
Determine from plugins whether the chain should continue executing or not.
|
ChainExecutionRequestResult |
ChainExecutionManager.start(ImmutableChain chain,
ConditionalBuildDetectionAction buildDetectionAction)
Starts the Chain
|
| Modifier and Type | Method and Description |
|---|---|
ImmutableChain |
ImmutableChainStage.getChain()
Gets the
Chain that the stage belongs to |
| Modifier and Type | Interface and Description |
|---|---|
interface |
TopLevelPlan
Marker interface that specifies that the implementing
Plan is a 'top level' object |
| Modifier and Type | Method and Description |
|---|---|
ImmutableChain |
PlanService.getPlan(PlanKey planKey)
Get an individual stage from a plan
|
| Modifier and Type | Method and Description |
|---|---|
Set<ImmutableChain> |
PlanManager.filterFavouritedPlans(Collection<? extends ImmutableChain> plans,
com.atlassian.user.User user)
Return a set of
Plans that are a subset of the given TopLevelPlans
collection that are favourited by the User |
Set<ImmutableChain> |
PlanDao.filterFavouritedPlans(Collection<? extends ImmutableChain> plans,
com.atlassian.user.User user)
Return a collection of
TopLevelPlans that are a subset of the given Plans collection that are favourited by the User |
Set<ImmutableChain> |
PlanManager.getFavouritePlans(com.atlassian.user.User user) |
List<ImmutableChain> |
FilteringPlanManager.getPlansForClone()
Returns all
Chain's. |
| Modifier and Type | Method and Description |
|---|---|
List<ChainBranch> |
PlanDao.getBranchesForChain(ImmutableChain chain)
Returns all branches which have the given chain as their master
|
boolean |
PlanExecutionManager.isBuildingAllowed(ImmutableChain chain)
Checks if a particular build is allowed to be built.
|
boolean |
AbstractPlanExecutionPermitter.isPermittedToExecute(ImmutableChain chain,
ErrorCollection errorCollection) |
boolean |
PlanExecutionPermitter.isPermittedToExecute(ImmutableChain chain,
ErrorCollection errorCollection)
Checks a condition in order to determine if the plan can be executed.
|
boolean |
AbstractPlanExecutionPermitter.isPermittedToExecute(ImmutableChain chain,
PlanResultKey resultKey,
ErrorCollection errorCollection) |
boolean |
PlanExecutionPermitter.isPermittedToExecute(ImmutableChain chain,
PlanResultKey resultKey,
ErrorCollection errorCollection)
Checks a condition in order to determine if the plan can be executed.
|
protected abstract boolean |
AbstractPlanExecutionPermitter.isPermittedToExecuteImpl(ImmutableChain chain,
PlanResultKey resultKey,
ErrorCollection errorCollection) |
PlanExecutionConfig |
PlanExecutionConfig.setChain(ImmutableChain chain) |
ExecutionRequestResult |
PlanExecutionManager.start(ImmutableChain chain,
BuildDetectionAction buildDetectionAction,
AcquisitionPolicy acquisitionPolicy)
Execute the
ImmutableChain with the provided BuildDetectionAction and AcquisitionPolicy
Calls to this method will acquire a lock according to the AcquisitionPolicy on a per Plan
granularity |
ExecutionRequestResult |
PlanExecutionManager.start(ImmutableChain chain,
PlanExecutionConfig planExecutionConfig,
String triggerReasonPluginKey,
String planTriggerPluginKey,
Map<String,String> params,
Map<String,String> variables,
AcquisitionPolicy acquisitionPolicy)
|
ExecutionRequestResult |
PlanExecutionManager.startManualExecution(ImmutableChain chain,
PlanExecutionConfig planExecutionConfig,
com.atlassian.user.User user,
Map<String,String> params,
Map<String,String> variables)
Attempts to start a manual execution of a given
Plan controlled by PlanExecutionConfig
PlanExecutionConfig allows to control manual stages execution as well as enforcing execution of manual stages |
ExecutionRequestResult |
PlanExecutionManager.startManualExecution(ImmutableChain chain,
PlanExecutionConfig planExecutionConfig,
com.atlassian.user.User user,
String triggerReasonPluginKey,
String planTriggerPluginKey,
Map<String,String> params,
Map<String,String> variables)
Attempts to start a manual execution of a given
Plan controlled by PlanExecutionConfig
PlanExecutionConfig allows to control manual stages execution as well as enforcing execution of manual stages |
ExecutionRequestResult |
PlanExecutionManager.startManualExecution(ImmutableChain chain,
com.atlassian.user.User user,
Map<String,String> params,
Map<String,String> variables)
Attempts to start a manual execution of the given
Plan |
| Modifier and Type | Method and Description |
|---|---|
Set<ImmutableChain> |
PlanManager.filterFavouritedPlans(Collection<? extends ImmutableChain> plans,
com.atlassian.user.User user)
Return a set of
Plans that are a subset of the given TopLevelPlans
collection that are favourited by the User |
Set<ImmutableChain> |
PlanDao.filterFavouritedPlans(Collection<? extends ImmutableChain> plans,
com.atlassian.user.User user)
Return a collection of
TopLevelPlans that are a subset of the given Plans collection that are favourited by the User |
| Modifier and Type | Method and Description |
|---|---|
ArtifactDefinition |
ArtifactDefinitionDao.findByNameInChain(ImmutableChain chain,
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.
|
List<ArtifactDefinition> |
ArtifactDefinitionManager.findSharedArtifactsByChain(ImmutableChain chain)
Find all shared artifacts that exist for a particular chain (looks through all jobs).
|
List<ArtifactDefinition> |
ArtifactDefinitionDao.findSharedArtifactsByChain(ImmutableChain chain)
Find all shared artifacts that exist for a particular chain.
|
com.google.common.collect.Multimap<? extends ImmutableJob,ArtifactDefinition> |
ArtifactDefinitionManager.getArtifactDefinitionsByJob(ImmutableChain chain,
com.google.common.base.Predicate<ArtifactDefinitionBase> predicate)
Returns
ArtifactDefinition grouped by Job where definitions are defined |
List<ArtifactSubscription> |
ArtifactSubscriptionManager.validateSubscriptions(ImmutableJob consumer,
ImmutableChain chain,
String stageName)
Validate consumer artifact subscriptions against target chain and stage
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ChainBranch
Represents a branch of a plan.
|
| Modifier and Type | Method and Description |
|---|---|
ImmutableChain |
BranchIntegrationService.getIntegrationPlan(BranchIntegrationConfiguration integrationConfiguration)
Get plan configured as merge to / merge from in branch configuration.
|
| Modifier and Type | Method and Description |
|---|---|
PlanKey |
BranchDetectionService.createChainBranch(ImmutableChain chain,
String branchName,
VcsBranch vcsBranch,
BuildConfiguration buildConfiguration,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry)
Given a branch name and (optionally) vcs branch name, create Plan Branches with overriding repository
definitions.
|
PlanKey |
BranchDetectionService.createChainBranch(ImmutableChain chain,
String branchName,
VcsBranch vcsBranch,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry)
|
Collection<PlanKey> |
BranchDetectionService.createPlanBranches(ImmutableChain chain,
Collection<VcsBranch> branches,
ErrorCollection errorCollection)
Given a list of branch names, create Plan Branches for these, with overriding repository definitions.
|
Collection<PlanKey> |
BranchDetectionService.createPlanBranches(ImmutableChain chain,
Collection<VcsBranch> branches,
ErrorCollection errorCollection,
PlanCreationService.EnablePlan enablePlan)
Given a list of branch names, create Plan Branches for these, with overriding repository definitions.
|
void |
VcsBranchManager.deleteAll(ImmutableChain chain) |
void |
VcsBranchDao.deleteAll(ImmutableChain chain) |
void |
BranchDetectionService.detectBranchesForChain(ImmutableChain chain)
Immediately executes the detection for a given Chain and creates new
plan branches if new branches found in the plan's default repository.
|
List<BambooVcsBranch> |
VcsBranchManager.findByChain(ImmutableChain chain) |
List<BambooVcsBranch> |
VcsBranchDao.findByChain(ImmutableChain chain) |
List<BambooVcsBranch> |
VcsBranchManager.findNotDeletedByChain(ImmutableChain chain)
Given a chain, this will return a list of
BambooVcsBranch of which Bamboo hasn't detected yet
that they were deleted in the repository. |
List<BambooVcsBranch> |
VcsBranchDao.findNotDeletedByChain(ImmutableChain chain)
Given a chain, this will return a list of
BambooVcsBranch of which Bamboo hasn't detected yet
that they were deleted in the repository. |
List<ChainBranch> |
ChainBranchManager.getBranchesForChain(ImmutableChain chain)
Get all feature branches associated with the given chain
|
ChainBranchIdentifier |
ChainBranchManager.getBranchWithName(ImmutableChain masterPlan,
String branchName)
|
List<VcsBranch> |
BranchDetectionService.getOpenBranches(ImmutableChain chain,
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.
|
void |
ChainBranchManager.handleVcsBranchDeletedOfPlanBranch(ImmutableChain chainBranch)
If the passed in chain is a plan branch with a VCS branch this will mark that VCS branch as deleted and disable the plan branch.
|
boolean |
ChainBranchManager.isPlanBranchNameConflicting(ImmutableChain masterPlan,
long chainBranchIdToIgnore,
String branchName)
Verifies whether a
ChainBranch name is unique with a given master Chain
|
void |
VcsBranchManager.saveAll(ImmutableChain chain,
Iterable<VcsBranch> requestedBranchesToSave) |
boolean |
BranchDetectionService.scheduleBranchDetectionForChain(ImmutableChain chain)
Registers branch detection request for a given Chain.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BranchDetectionService.deleteBambooVcsBranch(Iterable<ImmutableChain> chains,
String branchName)
Deletes vcs branch from table
|
void |
BranchDetectionService.disableChainBranch(Iterable<ImmutableChain> chains)
Disables bamboo branches from given chain branches (or chains if it's default branch).
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ImmutableChainBranch
Interface of an immutable version of
ChainBranch |
interface |
ImmutableTopLevelPlan
Represents a
TopLevelPlan that is immutable. |
| Modifier and Type | Method and Description |
|---|---|
ImmutableChain |
ImmutablePlanManager.createImmutableChain(Chain chain) |
ImmutableChain |
ImmutablePlanCacheService.getImmutablePlanByKey(PlanKey planKey)
Returns a plan if one exists with the key.
|
ImmutableChain |
ImmutableChain.getMaster() |
ImmutableChain |
CachedPlanManager.getMasterPlan(PlanKey branchKey)
Returns master branch for a given branchKey.
|
ImmutableChain |
ImmutableJob.getParent() |
ImmutableChain |
ImmutablePlanManager.getPlanByKey(PlanKey planKey) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<ImmutableChain> |
CachedPlanManager.getPlansWithRepository(PlanRepositoryIndex.Query query)
Returns chains that use repositories with given params
|
| Modifier and Type | Method and Description |
|---|---|
ImmutableJob |
ImmutablePlanManager.createImmutableJob(ImmutableChain parent,
ImmutableChainStage stage,
Job job) |
ImmutableChainStage |
ImmutablePlanManager.createImmutableStage(ImmutableChain parent,
ChainStage stage)
Create immutable
ChainStage. |
| Modifier and Type | Method and Description |
|---|---|
Iterable<PlanKey> |
ImmutablePlanCacheService.CacheInvalidator.getChainsToInvalidate(ImmutablePlanCacheService immutablePlanCacheService,
com.google.common.cache.Cache<PlanKey,ImmutableChain> planKeyChainMap)
This gets passed some cache internals for invalidation
|
| Modifier and Type | Method and Description |
|---|---|
void |
PlanCacheIndexer.index(ImmutableChain chain) |
| Modifier and Type | Method and Description |
|---|---|
int |
TestQuarantineManager.countCurrentlyQuarantinedTests(ImmutableChain chain)
Returns the number of tests current qurantined for this plan
|
int |
TestCaseDao.countCurrentlyQuarantinedTests(ImmutableChain chain) |
List<TestCase> |
TestQuarantineManager.getCurrentlyQuarantinedTests(ImmutableChain chain)
Get a list of
TestCase of all the tests currently quarantined for a given plan |
List<TestCase> |
TestCaseDao.getQuarantinedTestCasesForChain(ImmutableChain chain)
Provide a list of the quarantined tests for a job
|
| Modifier and Type | Method and Description |
|---|---|
BuildChanges |
ChangeDetectionManager.collectAllChangesSinceLastBuild(ImmutableChain chain,
Map<String,String> customVariableValues,
String customRevision)
Collect changes for a plan since the last build, regardless of whether the build triggering repositories have
changes or not.
|
BuildRepositoryChanges |
ChangeDetectionManager.collectChangesBetween(ImmutableChain chain,
RepositoryDefinition repositoryDefinition,
PlanVcsRevisionData fromVcsRevisionData,
PlanVcsRevisionData toVcsRevisionData)
Given a
RepositoryV2 finds the BuildChanges object that captures all changes that occurred
between the fromVcsRevisionKey to toVcsRevisionKey |
BuildRepositoryChanges |
ChangeDetectionManager.collectChangesSinceLastBuild(ImmutableChain chain,
RepositoryDefinition repositoryDefinition,
PlanVcsRevisionData lastVcsRevisionData,
Map<String,String> customVariableValues,
String customRevision)
Given a
RepositoryDefinition finds the BuildRepositoryChanges object that captures all changes
that occurred since the lastVcsRevisionKey to the current latest found on the repository. |
BuildChanges |
ChangeDetectionManager.collectChangesSinceLastBuildIfTriggered(ImmutableChain chain,
Map<String,String> customVariableValues,
Set<Long> triggeringRepositories)
Collect changes for a plan since the last build.
|
void |
ChangeDetectionManager.updateIntegrationRepositoryDetails(ImmutableChain chain,
BuildChanges buildChanges) |
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.