public class

DecoratedResult

extends Object
implements DecoratedNavObject
java.lang.Object
   ↳ com.atlassian.bamboo.ww2.beans.DecoratedResult

Summary

Public Methods
@Nullable static DecoratedResult decorateResult(ResultsSummary resultsSummary, DecoratedNavObjectFactory decoratedNavObjectFactory)
@Nullable ImmutableList<DecoratedPlan> getBranches()
Date getBuildDate()
int getBuildNumber()
String getDescription()
@NotNull String getDisplayName()
String getFullName()
@NotNull String getKey()
@Nullable PlanIdentifier getMaster()
The master plan iff the plan is a branched plan and it has a master.
@NotNull ImmutableList<? extends DecoratedNavGroupObject> getNavGroups()
@Nullable DecoratedNavObject getParent()
String getPlanKey()
PlanResultKey getPlanResultKey()
@NotNull PlanType getPlanType()
String getProjectKey()
String getProjectName()
ImmutableList<DecoratedStageResult> getStageResults()
@Nullable DecoratedNavObjectStatus getStatus()
@NotNull String getType()
boolean isResult()
@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
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.bamboo.ww2.beans.DecoratedNavObject

Public Methods

@Nullable public static DecoratedResult decorateResult (ResultsSummary resultsSummary, DecoratedNavObjectFactory decoratedNavObjectFactory)

@Nullable public ImmutableList<DecoratedPlan> getBranches ()

public Date getBuildDate ()

public int getBuildNumber ()

public String getDescription ()

@NotNull public String getDisplayName ()

public String getFullName ()

@NotNull public String getKey ()

@Nullable public PlanIdentifier getMaster ()

The master plan iff the plan is a branched plan and it has a master.

@NotNull public ImmutableList<? extends DecoratedNavGroupObject> getNavGroups ()

@Nullable public DecoratedNavObject getParent ()

public String getPlanKey ()

public PlanResultKey getPlanResultKey ()

@NotNull public PlanType getPlanType ()

public String getProjectKey ()

public String getProjectName ()

public ImmutableList<DecoratedStageResult> getStageResults ()

@Nullable public DecoratedNavObjectStatus getStatus ()

@NotNull public String getType ()

Returns
  • plantype associated with this object.

public boolean isResult ()

Returns
  • true if the nav object represents a result otherwise false

@Nullable public 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

Parameters
url - to manipulate
originalObject - the object the original url may have belonged to
Returns
  • the new url referencing this object