public class StageStatusHelperImpl extends Object implements StageStatusHelper
Constructor and Description |
---|
StageStatusHelperImpl(com.opensymphony.xwork2.TextProvider textProvider) |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayClassForStage(ChainStageResult chainStageResult)
Returns the CSS class name for a stage
|
String |
getDisplayMessageForStage(ChainStageResult chainStageResult)
Returns the display message for a stage
|
boolean |
isCollapsedByDefault(ChainStageResult chainStageResult,
Collection<ChainStageResult> chainStageResults)
Returns a boolean indicating whether or not the stage should appear collapsed by default in the UI
|
public StageStatusHelperImpl(com.opensymphony.xwork2.TextProvider textProvider)
@NotNull public String getDisplayClassForStage(@NotNull ChainStageResult chainStageResult)
StageStatusHelper
getDisplayClassForStage
in interface StageStatusHelper
@NotNull public String getDisplayMessageForStage(@NotNull ChainStageResult chainStageResult)
StageStatusHelper
getDisplayMessageForStage
in interface StageStatusHelper
public boolean isCollapsedByDefault(@NotNull ChainStageResult chainStageResult, @NotNull Collection<ChainStageResult> chainStageResults)
StageStatusHelper
isCollapsedByDefault
in interface StageStatusHelper
chainStageResults
- - the Collection of ChainStageResults containing the ChainStageResultCopyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.