Package com.atlassian.bamboo.chains
Class StageStatusHelperImpl
- java.lang.Object
-
- com.atlassian.bamboo.chains.StageStatusHelperImpl
-
- All Implemented Interfaces:
StageStatusHelper
public class StageStatusHelperImpl extends Object implements StageStatusHelper
-
-
Constructor Summary
Constructors Constructor Description StageStatusHelperImpl(com.opensymphony.xwork2.TextProvider textProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull String
getDisplayClassForStage(@NotNull ChainStageResult chainStageResult)
Returns the CSS class name for a stage@NotNull String
getDisplayMessageForStage(@NotNull ChainStageResult chainStageResult)
Returns the display message for a stageboolean
isCollapsedByDefault(@NotNull ChainStageResult chainStageResult, @NotNull Collection<ChainStageResult> chainStageResults)
Returns a boolean indicating whether or not the stage should appear collapsed by default in the UI
-
-
-
Method Detail
-
getDisplayClassForStage
@NotNull public @NotNull String getDisplayClassForStage(@NotNull @NotNull ChainStageResult chainStageResult)
Description copied from interface:StageStatusHelper
Returns the CSS class name for a stage- Specified by:
getDisplayClassForStage
in interfaceStageStatusHelper
- Returns:
-
getDisplayMessageForStage
@NotNull public @NotNull String getDisplayMessageForStage(@NotNull @NotNull ChainStageResult chainStageResult)
Description copied from interface:StageStatusHelper
Returns the display message for a stage- Specified by:
getDisplayMessageForStage
in interfaceStageStatusHelper
- Returns:
-
isCollapsedByDefault
public boolean isCollapsedByDefault(@NotNull @NotNull ChainStageResult chainStageResult, @NotNull @NotNull Collection<ChainStageResult> chainStageResults)
Description copied from interface:StageStatusHelper
Returns a boolean indicating whether or not the stage should appear collapsed by default in the UI- Specified by:
isCollapsedByDefault
in interfaceStageStatusHelper
chainStageResults
- - the Collection of ChainStageResults containing the ChainStageResult- Returns:
-
-