com.atlassian.bamboo.js
Class PlanDecorator

java.lang.Object
  extended by com.atlassian.bamboo.js.PlanDecorator

public class PlanDecorator
extends Object

Object that helps the UI render thr HTML / JS


Constructor Summary
PlanDecorator(ImmutableTopLevelPlan build, Long currentTime, boolean favourite, com.opensymphony.xwork2.TextProvider textProvider, PlanExecutionManager planExecutionManager)
           
PlanDecorator(ImmutableTopLevelPlan plan, Long currentTime, boolean favourite, com.opensymphony.xwork2.TextProvider textProvider, PlanExecutionManager planExecutionManager, PlanResultKey lastResultKey)
           
PlanDecorator(ImmutableTopLevelPlan build, Long currentSystemTime, com.opensymphony.xwork2.TextProvider textProvider, PlanExecutionManager planExecutionManager)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlanDecorator

public PlanDecorator(ImmutableTopLevelPlan build,
                     Long currentSystemTime,
                     com.opensymphony.xwork2.TextProvider textProvider,
                     PlanExecutionManager planExecutionManager)

PlanDecorator

public PlanDecorator(ImmutableTopLevelPlan build,
                     Long currentTime,
                     boolean favourite,
                     com.opensymphony.xwork2.TextProvider textProvider,
                     PlanExecutionManager planExecutionManager)

PlanDecorator

public PlanDecorator(ImmutableTopLevelPlan plan,
                     Long currentTime,
                     boolean favourite,
                     com.opensymphony.xwork2.TextProvider textProvider,
                     PlanExecutionManager planExecutionManager,
                     @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()


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