Package com.atlassian.bamboo.ww2.beans
Class DecoratedPlan.DecoratedBranch
java.lang.Object
com.atlassian.bamboo.ww2.beans.DecoratedPlan
com.atlassian.bamboo.ww2.beans.DecoratedPlan.DecoratedBranch
- All Implemented Interfaces:
BambooIdProvider
,PlanIdentifier
,PlanKeyProvider
,DescriptionProvider
,NameProvider
,DecoratedNavObject
- Enclosing class:
- DecoratedPlan
Branches are top level branch plans. DecoratedBranches do not track stages or jobs
themselves but inherit those of their master chain.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlassian.bamboo.ww2.beans.DecoratedPlan
DecoratedPlan.DecoratedBranch, DecoratedPlan.DecoratedPlanBranchGist
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.plan.PlanIdentifier
NAME_DELIMITER
Fields inherited from interface com.atlassian.bamboo.plan.PlanKeyProvider
getPlanKey
-
Constructor Summary
ConstructorDescriptionDecoratedBranch
(@NotNull DecoratedNavObjectFactory decoratedNavObjectFactory, @NotNull ImmutableChainBranch branch, @NotNull DecoratedPlan master) -
Method Summary
Modifier and TypeMethodDescription@Nullable String
@NotNull DecoratedPlan
The master plan iff the plan is a branched plan and it has a master.@NotNull PlanBranchMetadata
@Nullable DecoratedPlan
@Nullable PlanBranchWorkflow
For plan branches, this value indicates which workflow led to creation of this particular plan branch.com.google.common.collect.ImmutableList<DecoratedStage>
@Nullable DecoratedStage
getStageWithName
(@NotNull String stageName) Retrieve the named stage.boolean
boolean
Methods inherited from class com.atlassian.bamboo.ww2.beans.DecoratedPlan
getBranches, getBranchPlanKey, getBuildKey, getBuildName, getDatabaseId, getDescription, getDisplayName, getId, getKey, getLabelNames, getLinkedJiraIssue, getMasterChainKey, getMasterId, getMasterIdIfExists, getMasterJobKey, getName, getNavGroups, getPlanKey, getPlanType, getProject, getStatus, getType, isRemoteJiraLinkRequired, isResult, isSuspendedFromBuilding, replaceKey, setLabels
-
Constructor Details
-
Method Details
-
getMaster
Description copied from interface:DecoratedNavObject
The master plan iff the plan is a branched plan and it has a master.- Specified by:
getMaster
in interfaceDecoratedNavObject
- Specified by:
getMaster
in classDecoratedPlan
- Returns:
-
getRelatedDeploymentProjects
- Specified by:
getRelatedDeploymentProjects
in classDecoratedPlan
-
getParent
- Specified by:
getParent
in interfaceDecoratedNavObject
- Specified by:
getParent
in classDecoratedPlan
- Returns:
- the parent of this object (does not take into account groups)
-
getBranchName
- Specified by:
getBranchName
in classDecoratedPlan
-
isDivergent
public boolean isDivergent() -
isAwaitingSpecsExecution
public boolean isAwaitingSpecsExecution() -
getPlanBranchWorkflow
For plan branches, this value indicates which workflow led to creation of this particular plan branch.- Specified by:
getPlanBranchWorkflow
in classDecoratedPlan
-
getMetadata
-
getStageWithName
Description copied from class:DecoratedPlan
Retrieve the named stage. If the stage is not found it indicates that the stage has been deleted or renamed but the result remains.- Specified by:
getStageWithName
in classDecoratedPlan
-
getStages
- Overrides:
getStages
in classDecoratedPlan
-