public class

ChainBranchImpl

extends AbstractChain
implements ChainBranch
java.lang.Object
   ↳ com.atlassian.core.bean.EntityObject
     ↳ com.atlassian.bamboo.core.BambooEntityObject
       ↳ com.atlassian.bamboo.plan.AbstractPlan
         ↳ com.atlassian.bamboo.plan.AbstractChain
           ↳ com.atlassian.bamboo.plan.branch.ChainBranchImpl

Summary

[Expand]
Inherited Constants
From class com.atlassian.bamboo.plan.AbstractChain
From interface com.atlassian.bamboo.plan.cache.ImmutablePlan
[Expand]
Inherited Fields
From class com.atlassian.bamboo.plan.AbstractChain
From class com.atlassian.bamboo.plan.AbstractPlan
From class com.atlassian.bamboo.core.BambooEntityObject
Public Constructors
ChainBranchImpl()
Public Methods
BranchCommitInformation getCommitInformation()
@NotNull List<RepositoryDefinition> getEffectiveRepositoryDefinitions()
Return list of repositories available to the chain.
@NotNull Chain getMaster()
Return the master plan if one exists.
long getMasterId()
Database id of master of this ChainBranch
@NotNull PlanType getPlanType()
void setCommitInformation(BranchCommitInformation commitInformation)
void setMaster(Plan master)
Set which plan is the master of this plan.
[Expand]
Inherited Methods
From class com.atlassian.bamboo.plan.AbstractChain
From class com.atlassian.bamboo.plan.AbstractPlan
From class com.atlassian.bamboo.core.BambooEntityObject
From class com.atlassian.core.bean.EntityObject
From class java.lang.Object
From interface com.atlassian.bamboo.Describable
From interface com.atlassian.bamboo.chains.Chain
From interface com.atlassian.bamboo.core.BambooIdProvider
From interface com.atlassian.bamboo.core.BambooObject
From interface com.atlassian.bamboo.deletion.Deletable
From interface com.atlassian.bamboo.plan.Plan
From interface com.atlassian.bamboo.plan.PlanIdentifier
From interface com.atlassian.bamboo.plan.branch.ChainBranch
From interface com.atlassian.bamboo.plan.branch.ChainBranchIdentifier
From interface com.atlassian.bamboo.plan.cache.ImmutableChain
From interface com.atlassian.bamboo.plan.cache.ImmutableChainBranch
From interface com.atlassian.bamboo.plan.cache.ImmutableDeletable
From interface com.atlassian.bamboo.plan.cache.ImmutablePlan
From interface com.atlassian.bamboo.utils.DescriptionProvider
From interface com.atlassian.bamboo.utils.NameProvider
From interface java.lang.Comparable

Public Constructors

public ChainBranchImpl ()

Public Methods

public BranchCommitInformation getCommitInformation ()

@NotNull public List<RepositoryDefinition> getEffectiveRepositoryDefinitions ()

Return list of repositories available to the chain. In case of non-master object it will return list of master's repository definitions with default repository overriden by a private copy of default repository.

Returns
  • ordered List of repositories available to this plan

@NotNull public Chain getMaster ()

Return the master plan if one exists. The master is the plan which this one is derived from. Configuration is pulled from the master if one exists.

Returns
  • the master Plan if one exists.

public long getMasterId ()

Database id of master of this ChainBranch

@NotNull public PlanType getPlanType ()

public void setCommitInformation (BranchCommitInformation commitInformation)

public void setMaster (Plan master)

Set which plan is the master of this plan. The master is the plan which this one is derived from. Configuration is pulled from the master if one exists.