public static class DecoratedPlan.DecoratedBranch extends DecoratedPlan
DecoratedPlan.DecoratedBranch, DecoratedPlan.DecoratedPlanBranchGist
NAME_DELIMITER
getPlanKey
Constructor and Description |
---|
DecoratedBranch(@NotNull DecoratedNavObjectFactory decoratedNavObjectFactory,
@NotNull ImmutableChainBranch branch,
@NotNull DecoratedPlan master) |
Modifier and Type | Method and Description |
---|---|
@Nullable String |
getBranchName() |
@NotNull DecoratedPlan |
getMaster()
The master plan iff the plan is a branched plan and it has a master.
|
@NotNull PlanBranchMetadata |
getMetadata() |
@Nullable DecoratedPlan |
getParent() |
@Nullable 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() |
@Nullable DecoratedStage |
getStageWithName(@NotNull 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 @NotNull DecoratedNavObjectFactory decoratedNavObjectFactory, @NotNull @NotNull ImmutableChainBranch branch, @NotNull @NotNull DecoratedPlan master)
@NotNull public @NotNull DecoratedPlan getMaster()
DecoratedNavObject
getMaster
in interface DecoratedNavObject
getMaster
in class DecoratedPlan
public List<DeploymentProject> getRelatedDeploymentProjects()
getRelatedDeploymentProjects
in class DecoratedPlan
@Nullable public @Nullable DecoratedPlan getParent()
getParent
in interface DecoratedNavObject
getParent
in class DecoratedPlan
@Nullable public @Nullable String getBranchName()
getBranchName
in class DecoratedPlan
public boolean isDivergent()
public boolean isAwaitingSpecsExecution()
@Nullable public @Nullable PlanBranchWorkflow getPlanBranchWorkflow()
getPlanBranchWorkflow
in class DecoratedPlan
@NotNull public @NotNull PlanBranchMetadata getMetadata()
@Nullable public @Nullable DecoratedStage getStageWithName(@NotNull @NotNull String stageName)
DecoratedPlan
getStageWithName
in class DecoratedPlan
public com.google.common.collect.ImmutableList<DecoratedStage> getStages()
getStages
in class DecoratedPlan
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.