com.atlassian.bamboo.chains
Interface StageStatusHelper

All Known Implementing Classes:
StageStatusHelperImpl

public interface StageStatusHelper


Method Summary
 java.lang.String getDisplayClassForStage(ChainStageResult chainStageResult)
          Returns the CSS class name for a stage
 java.lang.String getDisplayMessageForStage(ChainStageResult chainStageResult)
          Returns the display message for a stage
 boolean isCollapsedByDefault(ChainStageResult chainStageResult, java.util.Collection<ChainStageResult> chainStageResults)
          Returns a boolean indicating whether or not the stage should appear collapsed by default in the UI
 

Method Detail

getDisplayClassForStage

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

Parameters:
chainStageResult -
Returns:

getDisplayMessageForStage

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

Parameters:
chainStageResult -
Returns:

isCollapsedByDefault

boolean isCollapsedByDefault(@NotNull
                             ChainStageResult chainStageResult,
                             @NotNull
                             java.util.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 © 2011 Atlassian. All Rights Reserved.