public abstract class DecoratedResult extends Object implements DecoratedNavObject
@Nullable public static DecoratedResult decorateChainResult(@NotNull ChainResultsSummary resultsSummary, @NotNull DecoratedPlan decoratedPlan)
ChainResultsSummary
.resultsSummary
- summary to decoratedecoratedPlan
- decorated plan the results summary is a result for. Must have the same key.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()
DecoratedNavObject
getMaster
in interface DecoratedNavObject
public String getDescription()
@NotNull public String getType()
getType
in interface DecoratedNavObject
@Nullable public DecoratedNavObjectStatus getStatus()
getStatus
in interface DecoratedNavObject
public boolean isResult()
isResult
in interface DecoratedNavObject
@Nullable public com.google.common.collect.ImmutableList<DecoratedPlan> getBranches()
@Nullable public String replaceKey(String url, DecoratedNavObject originalObject)
DecoratedNavObject
replaceKey
in interface DecoratedNavObject
url
- - 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 © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.