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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StageStatusHelperImpl
public StageStatusHelperImpl(com.opensymphony.xwork2.TextProvider textProvider)
getDisplayClassForStage
@NotNull
public String getDisplayClassForStage(@NotNull
ChainStageResult chainStageResult)
- Description copied from interface:
StageStatusHelper
- Returns the CSS class name for a stage
- Specified by:
getDisplayClassForStage
in interface StageStatusHelper
- Returns:
getDisplayMessageForStage
@NotNull
public String getDisplayMessageForStage(@NotNull
ChainStageResult chainStageResult)
- Description copied from interface:
StageStatusHelper
- Returns the display message for a stage
- Specified by:
getDisplayMessageForStage
in interface StageStatusHelper
- Returns:
isCollapsedByDefault
public boolean isCollapsedByDefault(@NotNull
ChainStageResult chainStageResult,
@NotNull
Collection<ChainStageResult> chainStageResults)
- Description copied from interface:
StageStatusHelper
- Returns a boolean indicating whether or not the stage should appear collapsed by default in the UI
- Specified by:
isCollapsedByDefault
in interface StageStatusHelper
chainStageResults
- - the Collection of ChainStageResults containing the ChainStageResult
- Returns:
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.