Package com.atlassian.bamboo.ww2.beans
Class DecoratedResult
java.lang.Object
com.atlassian.bamboo.ww2.beans.DecoratedResult
- All Implemented Interfaces:
DecoratedNavObject
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable DecoratedResult
decorateChainResult
(@NotNull PlanExecutionManager planExecutionManager, @NotNull ChainResultsSummary resultsSummary, @NotNull DecoratedPlan decoratedPlan, @NotNull DecoratedNavObjectFactory decoratedNavObjectFactory) Decorate aChainResultsSummary
.@Nullable com.google.common.collect.ImmutableList<DecoratedPlan.DecoratedPlanBranchGist>
@Nullable String
int
@NotNull String
@NotNull String
getKey()
@Nullable String
@Nullable PlanIdentifier
The master plan iff the plan is a branched plan and it has a master.@NotNull com.google.common.collect.ImmutableList<? extends DecoratedNavGroupObject>
abstract @Nullable DecoratedResult
@NotNull PlanType
abstract com.google.common.collect.ImmutableList<DecoratedStageResult>
@Nullable DecoratedNavObjectStatus
@NotNull String
getType()
boolean
boolean
isResult()
boolean
@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
-
Method Details
-
getKey
- Specified by:
getKey
in interfaceDecoratedNavObject
- Returns:
- full key of the object
-
getDisplayName
- Specified by:
getDisplayName
in interfaceDecoratedNavObject
- Returns:
- display name of this object
-
getParent
- Specified by:
getParent
in interfaceDecoratedNavObject
- Returns:
- the parent of this object (does not take into account groups)
-
getPlanType
- Specified by:
getPlanType
in interfaceDecoratedNavObject
- Returns:
- plantype associated with this object.
-
getMaster
Description copied from interface:DecoratedNavObject
The master plan iff the plan is a branched plan and it has a master.- Specified by:
getMaster
in interfaceDecoratedNavObject
- Returns:
-
getDescription
-
getType
- Specified by:
getType
in interfaceDecoratedNavObject
- Returns:
- plantype associated with this object.
-
getStatus
- Specified by:
getStatus
in interfaceDecoratedNavObject
- Returns:
- provide the status of this object if applicable
-
isResult
public boolean isResult()- Specified by:
isResult
in interfaceDecoratedNavObject
- Returns:
- true if the nav object represents a result otherwise false
-
getBranches
@Nullable public @Nullable com.google.common.collect.ImmutableList<DecoratedPlan.DecoratedPlanBranchGist> getBranches() -
getPlanKey
-
getBuildNumber
public int getBuildNumber() -
getPlanResultKey
-
getProjectKey
-
getProjectName
-
getFullName
-
getStageResults
-
getBuildDate
-
getBranchName
-
getLinkedJiraIssue
-
isRemoteJiraLinkRequired
public boolean isRemoteJiraLinkRequired() -
isSuspendedFromBuilding
public boolean isSuspendedFromBuilding()