public abstract class DecoratedResult extends Object implements DecoratedNavObject
| Modifier and Type | Method and Description |
|---|---|
static @Nullable DecoratedResult |
decorateChainResult(@NotNull PlanExecutionManager planExecutionManager,
@NotNull ChainResultsSummary resultsSummary,
@NotNull DecoratedPlan decoratedPlan,
@NotNull DecoratedNavObjectFactory decoratedNavObjectFactory)
Decorate a
ChainResultsSummary. |
@Nullable com.google.common.collect.ImmutableList<DecoratedPlan.DecoratedPlanBranchGist> |
getBranches() |
@Nullable String |
getBranchName() |
Date |
getBuildDate() |
int |
getBuildNumber() |
String |
getDescription() |
@NotNull String |
getDisplayName() |
String |
getFullName() |
@NotNull String |
getKey() |
@Nullable String |
getLinkedJiraIssue() |
@Nullable PlanIdentifier |
getMaster()
The master plan iff the plan is a branched plan and it has a master.
|
@NotNull com.google.common.collect.ImmutableList<? extends DecoratedNavGroupObject> |
getNavGroups() |
abstract @Nullable DecoratedResult |
getParent() |
String |
getPlanKey() |
PlanResultKey |
getPlanResultKey() |
@NotNull PlanType |
getPlanType() |
String |
getProjectKey() |
String |
getProjectName() |
abstract com.google.common.collect.ImmutableList<DecoratedStageResult> |
getStageResults() |
@Nullable DecoratedNavObjectStatus |
getStatus() |
@NotNull String |
getType() |
boolean |
isRemoteJiraLinkRequired() |
boolean |
isResult() |
boolean |
isSuspendedFromBuilding() |
@Nullable 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
|
@Nullable public static @Nullable DecoratedResult decorateChainResult(@NotNull @NotNull PlanExecutionManager planExecutionManager, @NotNull @NotNull ChainResultsSummary resultsSummary, @NotNull @NotNull DecoratedPlan decoratedPlan, @NotNull @NotNull DecoratedNavObjectFactory decoratedNavObjectFactory)
ChainResultsSummary.resultsSummary - summary to decoratedecoratedPlan - decorated plan the results summary is a result for. Must have the same key.decoratedNavObjectFactory - IllegalArgumentException - if the resultsSummary and decoratedPlan do not match.@NotNull public @NotNull String getKey()
getKey in interface DecoratedNavObject@NotNull public @NotNull String getDisplayName()
getDisplayName in interface DecoratedNavObject@NotNull public @NotNull com.google.common.collect.ImmutableList<? extends DecoratedNavGroupObject> getNavGroups()
getNavGroups in interface DecoratedNavObject@Nullable public abstract @Nullable DecoratedResult getParent()
getParent in interface DecoratedNavObject@NotNull public @NotNull PlanType getPlanType()
getPlanType in interface DecoratedNavObject@Nullable public @Nullable PlanIdentifier getMaster()
DecoratedNavObjectgetMaster in interface DecoratedNavObjectpublic String getDescription()
@NotNull public @NotNull String getType()
getType in interface DecoratedNavObject@Nullable public @Nullable DecoratedNavObjectStatus getStatus()
getStatus in interface DecoratedNavObjectpublic boolean isResult()
isResult in interface DecoratedNavObject@Nullable public @Nullable com.google.common.collect.ImmutableList<DecoratedPlan.DecoratedPlanBranchGist> getBranches()
@Nullable public @Nullable String replaceKey(String url, DecoratedNavObject originalObject)
DecoratedNavObjectreplaceKey in interface DecoratedNavObjecturl - - to manipulateoriginalObject - - the object the original url may have belonged topublic String getPlanKey()
public int getBuildNumber()
public PlanResultKey getPlanResultKey()
public String getProjectKey()
public String getProjectName()
public String getFullName()
public abstract com.google.common.collect.ImmutableList<DecoratedStageResult> getStageResults()
public Date getBuildDate()
@Nullable public @Nullable String getBranchName()
@Nullable public @Nullable String getLinkedJiraIssue()
public boolean isRemoteJiraLinkRequired()
public boolean isSuspendedFromBuilding()
Copyright © 2025 Atlassian Software Systems Pty Ltd. All rights reserved.