public class

PlanActionSupport

extends BambooActionSupport
implements PlanAware ProjectAware DomainObjectSecurityAware
java.lang.Object
   ↳ com.opensymphony.xwork.ActionSupport
     ↳ com.atlassian.bamboo.ww2.BambooActionSupport
       ↳ com.atlassian.bamboo.ww2.actions.PlanActionSupport
Known Direct Subclasses
Known Indirect Subclasses

Summary

[Expand]
Inherited Constants
From class com.atlassian.bamboo.ww2.BambooActionSupport
From interface com.opensymphony.xwork.Action
Fields
protected Integer buildNumber
protected ImmutablePlanCacheService immutablePlanCacheService
protected RepositoryConfigurationService repositoryConfigurationService
protected ResultsSummaryManager resultsSummaryManager
[Expand]
Inherited Fields
From class com.atlassian.bamboo.ww2.BambooActionSupport
From class com.opensymphony.xwork.ActionSupport
Public Constructors
PlanActionSupport()
Public Methods
String getBuildKey()
Integer getBuildNumber()
Collection<? extends ExecutionStatus> getCurrentlyBuildingPlans(PlanKey planKey)
ErrorAccessor getErrorAccessor()
Map<WebItemModuleDescriptorString> getJobsWebItemsForSection(String sectionName, HttpServletRequest req)
Plan getPlan()
String getPlanKey()
String getPlanResultKey()
Project getProject()
Object getSecuredDomainObject()
@Nullable PlanResultKey getTypedPlanResultKey()
boolean isRestartable(ResultsSummary resultsSummary)
void setBuildKey(String buildKey)
void setBuildNumber(Integer buildNumber)
void setErrorAccessor(ErrorAccessor errorAccessor)
void setPlan(Plan plan)
void setPlanExecutionManager(PlanExecutionManager planExecutionManager)
void setPlanKey(String planKey)
void setPlanResultKey(String planResultKey)
void setRepositoryConfigurationService(RepositoryConfigurationService repositoryConfigurationService)
void setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)
Protected Methods
@NotNull Map<StringObject> buildWebPanelContext(String location)
Builds a context suitable for rendering WebPanels via getWebPanels(String) In the future the results of this method may be cached
ResultsSummaryManager getResultsSummaryManager()
String planNotFound()
[Expand]
Inherited Methods
From class com.atlassian.bamboo.ww2.BambooActionSupport
From class com.opensymphony.xwork.ActionSupport
From class java.lang.Object
From interface com.atlassian.bamboo.utils.error.ErrorCollection
From interface com.atlassian.bamboo.ww2.aware.BambooSessionAware
From interface com.atlassian.bamboo.ww2.aware.NavigationAware
From interface com.atlassian.bamboo.ww2.aware.PlanAware
From interface com.atlassian.bamboo.ww2.aware.ProjectAware
From interface com.atlassian.bamboo.ww2.aware.ReturnUrlAware
From interface com.atlassian.bamboo.ww2.aware.permissions.DomainObjectSecurityAware
From interface com.atlassian.core.i18n.I18nTextProvider
From interface com.opensymphony.xwork.Action
From interface com.opensymphony.xwork.LocaleProvider
From interface com.opensymphony.xwork.TextProvider
From interface com.opensymphony.xwork.Validateable
From interface com.opensymphony.xwork.ValidationAware
From interface com.uwyn.rife.continuations.ContinuableObject

Fields

protected Integer buildNumber

protected ImmutablePlanCacheService immutablePlanCacheService

protected RepositoryConfigurationService repositoryConfigurationService

protected ResultsSummaryManager resultsSummaryManager

Public Constructors

public PlanActionSupport ()

Public Methods

public String getBuildKey ()

public Integer getBuildNumber ()

public Collection<? extends ExecutionStatus> getCurrentlyBuildingPlans (PlanKey planKey)

public ErrorAccessor getErrorAccessor ()

public Map<WebItemModuleDescriptorString> getJobsWebItemsForSection (String sectionName, HttpServletRequest req)

public Plan getPlan ()

public String getPlanKey ()

public String getPlanResultKey ()

public Project getProject ()

public Object getSecuredDomainObject ()

@Nullable public PlanResultKey getTypedPlanResultKey ()

public boolean isRestartable (ResultsSummary resultsSummary)

public void setBuildKey (String buildKey)

public void setBuildNumber (Integer buildNumber)

public void setErrorAccessor (ErrorAccessor errorAccessor)

public void setPlan (Plan plan)

public void setPlanExecutionManager (PlanExecutionManager planExecutionManager)

public void setPlanKey (String planKey)

public void setPlanResultKey (String planResultKey)

public void setRepositoryConfigurationService (RepositoryConfigurationService repositoryConfigurationService)

public void setResultsSummaryManager (ResultsSummaryManager resultsSummaryManager)

Protected Methods

@NotNull protected Map<StringObject> buildWebPanelContext (String location)

Builds a context suitable for rendering WebPanels via getWebPanels(String) In the future the results of this method may be cached

Returns
  • context

protected ResultsSummaryManager getResultsSummaryManager ()

protected String planNotFound ()