Package com.atlassian.bamboo.js
Class PlanDecorator
- java.lang.Object
-
- com.atlassian.bamboo.js.PlanDecorator
-
public class PlanDecorator extends Object
Object that helps the UI render thr HTML / JS
-
-
Constructor Summary
Constructors Constructor Description PlanDecorator(ImmutableTopLevelPlan plan, Long currentTime, boolean favourite, ChainExecutionManager chainExecutionManager, PlanExecutionManager planExecutionManager, @Nullable PlanResultKey lastResultKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getCurrentSystemTime()
String
getDurationSummary()
String
getLastBuiltSummary()
String
getLastResultKey()
String
getLatestBuild()
int
getNumberOfCurrentlyBuildingPlans()
String
getPlanKey()
String
getReasonSummary()
String
getReasonSummaryTooltip()
String
getStatusClass()
String
getStatusIconClass()
String
getStatusText()
String
getTestSummary()
boolean
isAllowStop()
boolean
isFavourite()
boolean
isSuspendedFromBuilding()
-
-
-
Constructor Detail
-
PlanDecorator
public PlanDecorator(ImmutableTopLevelPlan plan, Long currentTime, boolean favourite, ChainExecutionManager chainExecutionManager, PlanExecutionManager planExecutionManager, @Nullable @Nullable PlanResultKey lastResultKey)
-
-
Method Detail
-
isFavourite
public boolean isFavourite()
-
getCurrentSystemTime
public Long getCurrentSystemTime()
-
getPlanKey
public String getPlanKey()
-
getStatusIconClass
public String getStatusIconClass()
-
getStatusText
public String getStatusText()
-
getReasonSummary
public String getReasonSummary()
-
getReasonSummaryTooltip
public String getReasonSummaryTooltip()
-
getDurationSummary
public String getDurationSummary()
-
getStatusClass
public String getStatusClass()
-
getTestSummary
public String getTestSummary()
-
getLastBuiltSummary
public String getLastBuiltSummary()
-
isAllowStop
public boolean isAllowStop()
-
getLatestBuild
public String getLatestBuild()
-
isSuspendedFromBuilding
public boolean isSuspendedFromBuilding()
-
getNumberOfCurrentlyBuildingPlans
public int getNumberOfCurrentlyBuildingPlans()
-
getLastResultKey
public String getLastResultKey()
-
-