@Immutable public class DecoratedPlan extends Object implements DecoratedNavObject, PlanIdentifier
getPlanKeyFunctiongetPlanKey| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<DecoratedPlan> |
getBranches() |
String |
getBranchName() |
String |
getBranchPlanKey()
Return the the branch plan key.
|
String |
getBuildKey() |
String |
getBuildName() |
String |
getDescription() |
String |
getDisplayName() |
long |
getId() |
String |
getKey() |
com.google.common.collect.ImmutableList<String> |
getLabelNames() |
String |
getLinkedJiraIssue() |
PlanIdentifier |
getMaster()
The master plan iff the plan is a branched plan and it has a master.
|
String |
getMasterChainKey()
Return the main chain key for this plan.
|
long |
getMasterId() |
String |
getMasterJobKey()
Return the job key of this plan.
|
String |
getName() |
com.google.common.collect.ImmutableList<? extends DecoratedNavGroupObject> |
getNavGroups() |
DecoratedPlan |
getParent() |
PlanKey |
getPlanKey() |
PlanType |
getPlanType() |
ProjectIdentifier |
getProject() |
List<com.atlassian.bamboo.deployments.projects.DeploymentProject> |
getRelatedDeploymentProjects() |
com.google.common.collect.ImmutableList<DecoratedStage> |
getStages() |
DecoratedNavObjectStatus |
getStatus() |
String |
getType() |
boolean |
isRemoteJiraLinkRequired() |
boolean |
isResult() |
boolean |
isSuspendedFromBuilding() |
String |
replaceKey(String url,
DecoratedNavObject originalObject)
Given an existing url (may be directly from the originalObject or may be with a static ${planKey} reference) generate
the new url for this object
|
void |
setLabels(com.google.common.collect.ImmutableList<String> labels) |
@NotNull public String getKey()
getKey in interface DecoratedNavObject@NotNull public String getBuildKey()
getBuildKey in interface PlanIdentifier@NotNull public String getDisplayName()
getDisplayName in interface DecoratedNavObject@NotNull public com.google.common.collect.ImmutableList<? extends DecoratedNavGroupObject> getNavGroups()
getNavGroups in interface DecoratedNavObject@Nullable public DecoratedPlan getParent()
getParent in interface DecoratedNavObject@NotNull public PlanType getPlanType()
getPlanType in interface PlanIdentifiergetPlanType in interface DecoratedNavObject@Nullable public DecoratedNavObjectStatus getStatus()
getStatus in interface DecoratedNavObject@Nullable public String replaceKey(String url, DecoratedNavObject originalObject)
DecoratedNavObjectreplaceKey in interface DecoratedNavObjecturl - - to manipulateoriginalObject - - the object the original url may have belonged to@Nullable public PlanIdentifier getMaster()
DecoratedNavObjectgetMaster in interface DecoratedNavObjectpublic long getId()
getId in interface BambooIdProvidergetId in interface PlanIdentifier@NotNull public PlanKey getPlanKey()
getPlanKey in interface PlanIdentifiergetPlanKey in interface PlanKeyProvider@NotNull public String getName()
getName in interface PlanIdentifiergetName in interface DescriptionProvidergetName in interface NameProvider@NotNull public ProjectIdentifier getProject()
getProject in interface PlanIdentifier@NotNull public String getBuildName()
getBuildName in interface PlanIdentifierpublic String getDescription()
getDescription in interface DescriptionProviderpublic long getMasterId()
getMasterId in interface PlanIdentifierpublic com.google.common.collect.ImmutableList<String> getLabelNames()
@NotNull public String getType()
getType in interface DecoratedNavObjectpublic boolean isResult()
isResult in interface DecoratedNavObjectpublic boolean isSuspendedFromBuilding()
isSuspendedFromBuilding in interface PlanIdentifierpublic com.google.common.collect.ImmutableList<DecoratedStage> getStages()
public com.google.common.collect.ImmutableList<DecoratedPlan> getBranches()
public void setLabels(com.google.common.collect.ImmutableList<String> labels)
@Nullable public String getBranchName()
@Nullable public String getLinkedJiraIssue()
public boolean isRemoteJiraLinkRequired()
@NotNull public String getMasterChainKey()
@Nullable public String getMasterJobKey()
@Nullable public String getBranchPlanKey()
public List<com.atlassian.bamboo.deployments.projects.DeploymentProject> getRelatedDeploymentProjects()
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.