public abstract class DecoratedResult extends Object implements DecoratedNavObject
@Nullable public static DecoratedResult decorateChainResult(@NotNull ChainResultsSummary resultsSummary, @NotNull DecoratedPlan decoratedPlan, @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 String getKey()
getKey in interface DecoratedNavObject@NotNull public String getDisplayName()
getDisplayName in interface DecoratedNavObject@NotNull public com.google.common.collect.ImmutableList<? extends DecoratedNavGroupObject> getNavGroups()
getNavGroups in interface DecoratedNavObject@Nullable public abstract DecoratedResult getParent()
getParent in interface DecoratedNavObject@NotNull public PlanType getPlanType()
getPlanType in interface DecoratedNavObject@Nullable public PlanIdentifier getMaster()
DecoratedNavObjectgetMaster in interface DecoratedNavObjectpublic String getDescription()
@NotNull public String getType()
getType in interface DecoratedNavObject@Nullable public DecoratedNavObjectStatus getStatus()
getStatus in interface DecoratedNavObjectpublic boolean isResult()
isResult in interface DecoratedNavObject@Nullable public com.google.common.collect.ImmutableList<DecoratedPlan.DecoratedPlanBranchGist> getBranches()
@Nullable public 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 String getBranchName()
@Nullable public String getLinkedJiraIssue()
public boolean isRemoteJiraLinkRequired()
public boolean isSuspendedFromBuilding()
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.