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_DELIMITERFields inherited from interface com.atlassian.bamboo.plan.PlanKeyProvider
getPlanKey -
Constructor Summary
ConstructorsConstructorDescriptionDecoratedBranch(@NotNull DecoratedNavObjectFactory decoratedNavObjectFactory, @NotNull ImmutableChainBranch branch, @NotNull DecoratedPlan master) -
Method Summary
Modifier and TypeMethodDescription@Nullable String@NotNull DecoratedPlanThe master plan iff the plan is a branched plan and it has a master.@NotNull PlanBranchMetadata@Nullable DecoratedPlan@Nullable PlanBranchWorkflowFor plan branches, this value indicates which workflow led to creation of this particular plan branch.com.google.common.collect.ImmutableList<DecoratedStage>@Nullable DecoratedStagegetStageWithName(@NotNull String stageName) Retrieve the named stage.booleanbooleanMethods 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:DecoratedNavObjectThe master plan iff the plan is a branched plan and it has a master.- Specified by:
getMasterin interfaceDecoratedNavObject- Specified by:
getMasterin classDecoratedPlan- Returns:
-
getRelatedDeploymentProjects
- Specified by:
getRelatedDeploymentProjectsin classDecoratedPlan
-
getParent
- Specified by:
getParentin interfaceDecoratedNavObject- Specified by:
getParentin classDecoratedPlan- Returns:
- the parent of this object (does not take into account groups)
-
getBranchName
- Specified by:
getBranchNamein 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:
getPlanBranchWorkflowin classDecoratedPlan
-
getMetadata
-
getStageWithName
Description copied from class:DecoratedPlanRetrieve 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:
getStageWithNamein classDecoratedPlan
-
getStages
- Overrides:
getStagesin classDecoratedPlan
-