Package com.atlassian.bamboo.ww2.beans
Class DecoratedStage
- java.lang.Object
-
- com.atlassian.bamboo.ww2.beans.DecoratedStage
-
- All Implemented Interfaces:
DecoratedNavGroupObject
@Immutable public class DecoratedStage extends Object implements DecoratedNavGroupObject
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable com.google.common.collect.ImmutableList<? extends DecoratedNavObject>getChildren()StringgetDescription()The desciption of this groupStringgetGroupSummary()longgetId()List<DecoratedPlan>getJobs()@Nullable DecoratedPlangetJobWithKey(@NotNull PlanKey planKey)Get the job with the given key, returns null if no such job is found.@NotNull StringgetName()StringgetPlanKey()@Nullable DecoratedNavGroupStatusgetStatus()booleanisFinal()booleanisManual()
-
-
-
Method Detail
-
getId
public long getId()
- Specified by:
getIdin interfaceDecoratedNavGroupObject- Returns:
- object id
-
getName
@NotNull public @NotNull String getName()
- Specified by:
getNamein interfaceDecoratedNavGroupObject- Returns:
- display name
-
getChildren
@Nullable public @Nullable com.google.common.collect.ImmutableList<? extends DecoratedNavObject> getChildren()
- Specified by:
getChildrenin interfaceDecoratedNavGroupObject- Returns:
- children grouped under this group, sorted by display name.
-
getStatus
@Nullable public @Nullable DecoratedNavGroupStatus getStatus()
- Specified by:
getStatusin interfaceDecoratedNavGroupObject- Returns:
- status of this group if applicable
-
getGroupSummary
public String getGroupSummary()
- Specified by:
getGroupSummaryin interfaceDecoratedNavGroupObject- Returns:
- a short summary of whats in this group
-
getDescription
public String getDescription()
Description copied from interface:DecoratedNavGroupObjectThe desciption of this group- Specified by:
getDescriptionin interfaceDecoratedNavGroupObject- Returns:
-
getPlanKey
public String getPlanKey()
-
isManual
public boolean isManual()
-
isFinal
public boolean isFinal()
-
getJobs
public List<DecoratedPlan> getJobs()
-
getJobWithKey
@Nullable public @Nullable DecoratedPlan getJobWithKey(@NotNull @NotNull PlanKey planKey)
Get the job with the given key, returns null if no such job is found.
-
-