Package com.atlassian.bamboo.chains
Interface StageStatusHelper
- All Known Implementing Classes:
StageStatusHelperImpl
public interface StageStatusHelper
-
Method Summary
Modifier and TypeMethodDescription@NotNull StringgetDisplayClassForStage(@NotNull ChainStageResult chainStageResult) Returns the CSS class name for a stage@NotNull StringgetDisplayMessageForStage(@NotNull ChainStageResult chainStageResult) Returns the display message for a stagebooleanisCollapsedByDefault(@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 Details
-
getDisplayClassForStage
@NotNull @NotNull String getDisplayClassForStage(@NotNull @NotNull ChainStageResult chainStageResult) Returns the CSS class name for a stage- Parameters:
chainStageResult-- Returns:
-
getDisplayMessageForStage
@NotNull @NotNull String getDisplayMessageForStage(@NotNull @NotNull ChainStageResult chainStageResult) Returns the display message for a stage- Parameters:
chainStageResult-- Returns:
-
isCollapsedByDefault
boolean isCollapsedByDefault(@NotNull @NotNull ChainStageResult chainStageResult, @NotNull @NotNull Collection<ChainStageResult> chainStageResults) Returns a boolean indicating whether or not the stage should appear collapsed by default in the UI- Parameters:
chainStageResult-chainStageResults- - the Collection of ChainStageResults containing the ChainStageResult- Returns:
-