com.atlassian.bamboo.plan.branch
Interface ChainBranch

All Superinterfaces:
BambooIdProvider, BambooObject, Chain, ChainBranchIdentifier, Deletable, Describable, DescriptionProvider, ImmutableChain, ImmutableChainBranch, ImmutableDeletable, ImmutablePlan, NameProvider, Plan, PlanIdentifier
All Known Implementing Classes:
ChainBranchImpl, ImmutableChainBranchImpl

public interface ChainBranch
extends Chain, ImmutableChainBranch

Represents a branch of a plan. Conceptually a branch is exactly the same as the plan except for which repository branch/location it checks the code out from. A branch can not exist without a master which looks after all its configuration


Field Summary
 
Fields inherited from interface com.atlassian.bamboo.plan.cache.ImmutablePlan
MAX_NUMBER_LOG_ENTRIES, MAX_PREVIOUS_BUILD_FOR_AVE, STATUS_CURRENTLY_BUILDING, STATUS_FAIL, STATUS_NO_BUILDS, STATUS_NOT_RUN, STATUS_SUCCESS
 
Method Summary
 void setCommitInformation(BranchCommitInformation commitInformation)
           
 void setMaster(Plan master)
          Set which plan is the master of this plan.
 
Methods inherited from interface com.atlassian.bamboo.chains.Chain
addNewStage, addStage, getAllJobs, getAllStages, getMaster, getStages, removeStage, setNotificationSet
 
Methods inherited from interface com.atlassian.bamboo.plan.Plan
getLabellings, getRelatedLabellings, setBuildDefinitionXml, setBuildKey, setBuildName, setFirstBuildNumber, setKey, setLabellings, setLastBuildNumber, setNextBuildNumber, setPlanKey, setProject, setSuspendedFromBuilding, validateBuild
 
Methods inherited from interface com.atlassian.bamboo.Describable
setDescription, setName
 
Methods inherited from interface com.atlassian.bamboo.deletion.Deletable
setMarkedForDeletion
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
 
Methods inherited from interface com.atlassian.bamboo.plan.cache.ImmutableDeletable
isMarkedForDeletion
 
Methods inherited from interface com.atlassian.bamboo.plan.cache.ImmutableChainBranch
getCommitInformation
 
Methods inherited from interface com.atlassian.bamboo.plan.branch.ChainBranchIdentifier
getMasterId
 
Methods inherited from interface com.atlassian.bamboo.plan.cache.ImmutableChain
containsStage, getEffectiveRepositoryDefinitions, getJobCount, getLastResultKey, getNotificationSet
 
Methods inherited from interface com.atlassian.bamboo.plan.cache.ImmutablePlan
getAverageBuildDuration, getBuildDefinition, getBuildDefinitionXml, getBuildLogger, getCurrentStatus, getEffectiveVariables, getFirstBuildNumber, getKey, getLabelNames, getLastBuildNumber, getLatestResultsSummary, getNextBuildNumber, getProject, getType, getVariables, hasMaster, hasTests, isActive, isBusy, isExecuting, isMarkedForDeletion
 

Method Detail

setMaster

void setMaster(Plan master)
Description copied from interface: Plan
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.

Specified by:
setMaster in interface Plan

setCommitInformation

void setCommitInformation(@Nullable
                          BranchCommitInformation commitInformation)


Copyright © 2012 Atlassian. All Rights Reserved.