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 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 Detail
-
getDisplayClassForStage
@NotNull public @NotNull String getDisplayClassForStage(@NotNull @NotNull ChainStageResult chainStageResult)
Description copied from interface:StageStatusHelperReturns the CSS class name for a stage- Specified by:
getDisplayClassForStagein interfaceStageStatusHelper- Returns:
-
getDisplayMessageForStage
@NotNull public @NotNull String getDisplayMessageForStage(@NotNull @NotNull ChainStageResult chainStageResult)
Description copied from interface:StageStatusHelperReturns the display message for a stage- Specified by:
getDisplayMessageForStagein interfaceStageStatusHelper- Returns:
-
isCollapsedByDefault
public boolean isCollapsedByDefault(@NotNull @NotNull ChainStageResult chainStageResult, @NotNull @NotNull Collection<ChainStageResult> chainStageResults)Description copied from interface:StageStatusHelperReturns a boolean indicating whether or not the stage should appear collapsed by default in the UI- Specified by:
isCollapsedByDefaultin interfaceStageStatusHelperchainStageResults- - the Collection of ChainStageResults containing the ChainStageResult- Returns:
-
-