com.atlassian.bamboo.chains
Interface StageStatusHelper

All Known Implementing Classes:
StageStatusHelperImpl

public interface StageStatusHelper


Method Summary
 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
 

Method Detail

getDisplayClassForStage

@NotNull
String getDisplayClassForStage(@NotNull
                                       ChainStageResult chainStageResult)
Returns the CSS class name for a stage

Parameters:
chainStageResult -
Returns:

getDisplayMessageForStage

@NotNull
String getDisplayMessageForStage(@NotNull
                                         ChainStageResult chainStageResult)
Returns the display message for a stage

Parameters:
chainStageResult -
Returns:

isCollapsedByDefault

boolean 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

Parameters:
chainStageResult -
chainStageResults - - the Collection of ChainStageResults containing the ChainStageResult
Returns:


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.