Package com.atlassian.bamboo.plan.branch
Interface ChainBranch
- All Superinterfaces:
BambooIdProvider,BambooObject,BambooObjectWithOid,Chain,ChainBranchIdentifier,Deletable,Describable,DescriptionProvider,EntityWithOid,ImmutableChain,ImmutableChainBranch,ImmutableDeletable,ImmutableEntityWithOid,ImmutablePlan,NameProvider,Plan,PlanIdentifier,PlanKeyProvider,Triggerable,Versionable
- All Known Implementing Classes:
ChainBranchImpl
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_PREVIOUS_BUILD_FOR_AVE, STATUS_CURRENTLY_BUILDING, STATUS_FAIL, STATUS_NO_BUILDS, STATUS_NOT_RUN, STATUS_SUCCESSFields inherited from interface com.atlassian.bamboo.plan.PlanIdentifier
NAME_DELIMITERFields inherited from interface com.atlassian.bamboo.plan.PlanKeyProvider
getPlanKey -
Method Summary
Modifier and TypeMethodDescriptionvoidsetCommitInformation(@Nullable BranchCommitInformation commitInformation) voidsetDivergent(boolean divergent) voidsetLinkedJiraIssue(@Nullable String jiraIssueKey) voidSet which plan is the master of this plan.voidsetMetadata(@NotNull PlanBranchMetadata planBranchMetadata) voidsetRemoteJiraLinkRequired(boolean remoteJiraIssueLinkRequired) Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setIdMethods inherited from interface com.atlassian.bamboo.chains.Chain
addNewStage, addStage, addStage, getAllJobs, getAllStages, getMaster, getStages, removeStage, removeStagesIf, setNotificationSet, setStorageTagMethods inherited from interface com.atlassian.bamboo.plan.branch.ChainBranchIdentifier
getLinkedJiraIssue, isRemoteJiraLinkRequiredMethods inherited from interface com.atlassian.bamboo.deletion.Deletable
setMarkedForDeletionMethods inherited from interface com.atlassian.bamboo.Describable
setDescription, setNameMethods inherited from interface com.atlassian.bamboo.utils.DescriptionProvider
getDescriptionMethods inherited from interface com.atlassian.bamboo.core.EntityWithOid
setOidMethods inherited from interface com.atlassian.bamboo.plan.cache.ImmutableChain
containsStage, getCreationDate, getEntityType, getJobCount, getLastResultKey, getNotificationSet, getPlanRepositoryDefinitions, getStorageTag, getVcsBambooSpecsSourceMethods inherited from interface com.atlassian.bamboo.plan.cache.ImmutableChainBranch
getCommitInformation, getMetadata, isDivergentMethods inherited from interface com.atlassian.bamboo.core.ImmutableEntityWithOid
getOidMethods inherited from interface com.atlassian.bamboo.plan.cache.ImmutablePlan
getAverageBuildDuration, getBuildDefinition, getBuildLogger, getCurrentStatus, getEffectiveVariables, getFirstBuildNumber, getKey, getLabelNames, getLastBuildNumber, getProject, getType, getVariables, hasMaster, isActive, isBusy, isExecuting, isMarkedForDeletionMethods inherited from interface com.atlassian.bamboo.plan.Plan
getBuildDefinitionXml, getLabellings, getLatestResultsSummary, getRelatedLabellings, setBuildDefinitionXml, setBuildKey, setBuildName, setKey, setLabellings, setPlanKey, setProject, setSuspendedFromBuildingMethods inherited from interface com.atlassian.bamboo.plan.PlanIdentifier
getBuildKey, getBuildName, getDatabaseId, getId, getMasterId, getMasterIdIfExists, getName, getPlanKey, getPlanType, isSuspendedFromBuildingMethods inherited from interface com.atlassian.bamboo.trigger.Triggerable
getTriggerDefinitions, isSuspendedMethods inherited from interface com.atlassian.bamboo.versioning.Versionable
getVersion
-
Method Details
-
setMaster
Description copied from interface:PlanSet which plan is the master of this plan. The master is the plan which this one is derived from. Configuration will be pulled from the master if one exists and if it is not a divergent branch -
setCommitInformation
-
setMetadata
-
setLinkedJiraIssue
-
setRemoteJiraLinkRequired
void setRemoteJiraLinkRequired(boolean remoteJiraIssueLinkRequired) -
setDivergent
void setDivergent(boolean divergent)
-