Package com.atlassian.bamboo.ww2.beans
Interface DecoratedNavObject
- All Known Implementing Classes:
DecoratedPlan
,DecoratedPlan.DecoratedBranch
,DecoratedResult
public interface DecoratedNavObject
Represents an item in the navigation context
-
Method Summary
Modifier and TypeMethodDescription@NotNull String
@NotNull String
getKey()
@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>
@Nullable DecoratedNavObject
@NotNull PlanType
@Nullable DecoratedNavObjectStatus
@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
-
Method Details
-
getKey
- Returns:
- full key of the object
-
getDisplayName
- Returns:
- display name of this object
-
getParent
- Returns:
- the parent of this object (does not take into account groups)
-
getPlanType
- Returns:
- plantype associated with this object.
-
getType
- Returns:
- plantype associated with this object.
-
isResult
boolean isResult()- Returns:
- true if the nav object represents a result otherwise false
-
getStatus
- Returns:
- provide the status of this object if applicable
-
getMaster
The master plan iff the plan is a branched plan and it has a master.- Returns:
-