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 DecoratedResultdecorateChainResult(@NotNull PlanExecutionManager planExecutionManager, @NotNull ChainResultsSummary resultsSummary, @NotNull DecoratedPlan decoratedPlan, @NotNull DecoratedNavObjectFactory decoratedNavObjectFactory) Decorate aChainResultsSummary.@Nullable com.google.common.collect.ImmutableList<DecoratedPlan.DecoratedPlanBranchGist>@Nullable Stringint@NotNull String@NotNull StringgetKey()@Nullable String@Nullable PlanIdentifierThe 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 PlanTypeabstract com.google.common.collect.ImmutableList<DecoratedStageResult>@Nullable DecoratedNavObjectStatus@NotNull StringgetType()booleanbooleanisResult()boolean@Nullable StringreplaceKey(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:
getKeyin interfaceDecoratedNavObject- Returns:
- full key of the object
-
getDisplayName
- Specified by:
getDisplayNamein interfaceDecoratedNavObject- Returns:
- display name of this object
-
getParent
- Specified by:
getParentin interfaceDecoratedNavObject- Returns:
- the parent of this object (does not take into account groups)
-
getPlanType
- Specified by:
getPlanTypein interfaceDecoratedNavObject- Returns:
- plantype associated with this object.
-
getMaster
Description copied from interface:DecoratedNavObjectThe master plan iff the plan is a branched plan and it has a master.- Specified by:
getMasterin interfaceDecoratedNavObject- Returns:
-
getDescription
-
getType
- Specified by:
getTypein interfaceDecoratedNavObject- Returns:
- plantype associated with this object.
-
getStatus
- Specified by:
getStatusin interfaceDecoratedNavObject- Returns:
- provide the status of this object if applicable
-
isResult
public boolean isResult()- Specified by:
isResultin 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()