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
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_PREVIOUS_BUILD_FOR_AVE, STATUS_CURRENTLY_BUILDING, STATUS_FAIL, STATUS_NO_BUILDS, STATUS_NOT_RUN, STATUS_SUCCESS
-
Fields inherited from interface com.atlassian.bamboo.plan.PlanIdentifier
NAME_DELIMITER
-
Fields inherited from interface com.atlassian.bamboo.plan.PlanKeyProvider
getPlanKey
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setCommitInformation(@Nullable BranchCommitInformation commitInformation)
void
setDivergent(boolean divergent)
void
setLinkedJiraIssue(@Nullable String jiraIssueKey)
void
setMaster(Plan master)
Set which plan is the master of this plan.void
setMetadata(@NotNull PlanBranchMetadata planBranchMetadata)
void
setRemoteJiraLinkRequired(boolean remoteJiraIssueLinkRequired)
-
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
-
Methods inherited from interface com.atlassian.bamboo.chains.Chain
addNewStage, addStage, addStage, getAllJobs, getAllStages, getMaster, getStages, removeStage, removeStagesIf, setNotificationSet, setStorageTag
-
Methods inherited from interface com.atlassian.bamboo.plan.branch.ChainBranchIdentifier
getLinkedJiraIssue, isRemoteJiraLinkRequired
-
Methods inherited from interface com.atlassian.bamboo.deletion.Deletable
setMarkedForDeletion
-
Methods inherited from interface com.atlassian.bamboo.Describable
setDescription, setName
-
Methods inherited from interface com.atlassian.bamboo.utils.DescriptionProvider
getDescription
-
Methods inherited from interface com.atlassian.bamboo.core.EntityWithOid
setOid
-
Methods inherited from interface com.atlassian.bamboo.plan.cache.ImmutableChain
containsStage, getCreationDate, getEffectiveRepositoryDefinitions, getEntityType, getJobCount, getLastResultKey, getNotificationSet, getPlanRepositoryDefinitions, getStorageTag, getVcsBambooSpecsSource
-
Methods inherited from interface com.atlassian.bamboo.plan.cache.ImmutableChainBranch
getCommitInformation, getMetadata, isDivergent
-
Methods inherited from interface com.atlassian.bamboo.core.ImmutableEntityWithOid
getOid
-
Methods 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, isMarkedForDeletion
-
Methods inherited from interface com.atlassian.bamboo.plan.Plan
getBuildDefinitionXml, getLabellings, getLatestResultsSummary, getRelatedLabellings, setBuildDefinitionXml, setBuildKey, setBuildName, setKey, setLabellings, setPlanKey, setProject, setSuspendedFromBuilding
-
Methods inherited from interface com.atlassian.bamboo.plan.PlanIdentifier
getBuildKey, getBuildName, getDatabaseId, getId, getMasterId, getMasterIdIfExists, getName, getPlanKey, getPlanType, isSuspendedFromBuilding
-
Methods inherited from interface com.atlassian.bamboo.trigger.Triggerable
getTriggerDefinitions, isSuspended
-
Methods inherited from interface com.atlassian.bamboo.versioning.Versionable
getVersion
-
-
-
-
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.
-
setCommitInformation
void setCommitInformation(@Nullable @Nullable BranchCommitInformation commitInformation)
-
setMetadata
void setMetadata(@NotNull @NotNull PlanBranchMetadata planBranchMetadata)
-
setLinkedJiraIssue
void setLinkedJiraIssue(@Nullable @Nullable String jiraIssueKey)
-
setRemoteJiraLinkRequired
void setRemoteJiraLinkRequired(boolean remoteJiraIssueLinkRequired)
-
setDivergent
void setDivergent(boolean divergent)
-
-