public static class DecoratedPlan.DecoratedBranch extends DecoratedPlan
DecoratedPlan.DecoratedBranch, DecoratedPlan.DecoratedPlanBranchGist
getPlanKeyFunction, NAME_DELIMITER
getPlanKey
Constructor and Description |
---|
DecoratedBranch(DecoratedNavObjectFactory decoratedNavObjectFactory,
ImmutableChainBranch branch,
DecoratedPlan master) |
Modifier and Type | Method and Description |
---|---|
String |
getBranchName() |
DecoratedPlan |
getMaster()
The master plan iff the plan is a branched plan and it has a master.
|
DecoratedPlan |
getParent() |
PlanBranchWorkflow |
getPlanBranchWorkflow()
For plan branches, this value indicates which workflow led to creation of this particular plan branch.
|
List<DeploymentProject> |
getRelatedDeploymentProjects() |
com.google.common.collect.ImmutableList<DecoratedStage> |
getStages() |
DecoratedStage |
getStageWithName(String stageName)
Retrieve the named stage.
|
boolean |
isAwaitingSpecsExecution() |
boolean |
isDivergent() |
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
public DecoratedBranch(@NotNull DecoratedNavObjectFactory decoratedNavObjectFactory, @NotNull ImmutableChainBranch branch, @NotNull DecoratedPlan master)
@NotNull public DecoratedPlan getMaster()
DecoratedNavObject
getMaster
in interface DecoratedNavObject
getMaster
in class DecoratedPlan
public List<DeploymentProject> getRelatedDeploymentProjects()
getRelatedDeploymentProjects
in class DecoratedPlan
@Nullable public DecoratedPlan getParent()
getParent
in interface DecoratedNavObject
getParent
in class DecoratedPlan
@Nullable public String getBranchName()
getBranchName
in class DecoratedPlan
public boolean isDivergent()
public boolean isAwaitingSpecsExecution()
@Nullable public PlanBranchWorkflow getPlanBranchWorkflow()
getPlanBranchWorkflow
in class DecoratedPlan
@Nullable public DecoratedStage getStageWithName(@NotNull String stageName)
DecoratedPlan
getStageWithName
in class DecoratedPlan
public com.google.common.collect.ImmutableList<DecoratedStage> getStages()
getStages
in class DecoratedPlan
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.