com.atlassian.bamboo.js
Class PlanDecorator

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

public class PlanDecorator
extends java.lang.Object

Object that helps the UI render thr HTML / JS


Constructor Summary
PlanDecorator(ImmutableTopLevelPlan build, java.lang.Long currentTime, boolean favourite, com.opensymphony.xwork.TextProvider textProvider, PlanExecutionManager planExecutionManager)
           
PlanDecorator(ImmutableTopLevelPlan plan, java.lang.Long currentTime, boolean favourite, com.opensymphony.xwork.TextProvider textProvider, PlanExecutionManager planExecutionManager, PlanResultKey lastResultKey)
           
PlanDecorator(ImmutableTopLevelPlan build, java.lang.Long currentSystemTime, com.opensymphony.xwork.TextProvider textProvider, PlanExecutionManager planExecutionManager)
           
 
Method Summary
 java.lang.Long getCurrentSystemTime()
           
 java.lang.String getDurationSummary()
           
 java.lang.String getLastBuiltSummary()
           
 java.lang.String getLastResultKey()
           
 java.lang.String getLatestBuild()
           
 int getNumberOfCurrentlyBuildingPlans()
           
 java.lang.String getPlanKey()
           
 java.lang.String getReasonSummary()
           
 java.lang.String getReasonSummaryTooltip()
           
 java.lang.String getStatusClass()
           
 java.lang.String getStatusIconPath()
           
 java.lang.String getStatusText()
           
 java.lang.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,
                     java.lang.Long currentSystemTime,
                     com.opensymphony.xwork.TextProvider textProvider,
                     PlanExecutionManager planExecutionManager)

PlanDecorator

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

PlanDecorator

public PlanDecorator(ImmutableTopLevelPlan plan,
                     java.lang.Long currentTime,
                     boolean favourite,
                     com.opensymphony.xwork.TextProvider textProvider,
                     PlanExecutionManager planExecutionManager,
                     @Nullable
                     PlanResultKey lastResultKey)
Method Detail

isFavourite

public boolean isFavourite()

getCurrentSystemTime

public java.lang.Long getCurrentSystemTime()

getPlanKey

public java.lang.String getPlanKey()

getStatusIconPath

public java.lang.String getStatusIconPath()

getStatusText

public java.lang.String getStatusText()

getReasonSummary

public java.lang.String getReasonSummary()

getReasonSummaryTooltip

public java.lang.String getReasonSummaryTooltip()

getDurationSummary

public java.lang.String getDurationSummary()

getStatusClass

public java.lang.String getStatusClass()

getTestSummary

public java.lang.String getTestSummary()

getLastBuiltSummary

public java.lang.String getLastBuiltSummary()

isAllowStop

public boolean isAllowStop()

getLatestBuild

public java.lang.String getLatestBuild()

isSuspendedFromBuilding

public boolean isSuspendedFromBuilding()

getNumberOfCurrentlyBuildingPlans

public int getNumberOfCurrentlyBuildingPlans()

getLastResultKey

public java.lang.String getLastResultKey()


Copyright © 2012 Atlassian. All Rights Reserved.