com.atlassian.bamboo.ww2.actions
Class PlanActionSupport

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.bamboo.ww2.BambooActionSupport
          extended by com.atlassian.bamboo.ww2.actions.PlanActionSupport
All Implemented Interfaces:
ErrorCollection, BambooSessionAware, DomainObjectSecurityAware, GlobalReadSecurityAware, PlanAware, ProjectAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, com.uwyn.rife.continuations.ContinuableObject, java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
BuildActionSupport, BuildConfigurationSupport, ChainActionSupport, DeleteHgCacheDirectory, DeletePlan, DeletePlanResults, EditLabelsAction, PlanResultsAction, ShowLatestBuildStatus, StopPlan, TriggerManualBuild, ViewLabels, ViewPlanConfiguration, ViewRunningPlans

public class PlanActionSupport
extends BambooActionSupport
implements ProjectAware, PlanAware, DomainObjectSecurityAware

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
BambooActionSupport.JSONStatus
 
Field Summary
protected  java.lang.Integer buildNumber
           
protected  ResultsSummaryManager resultsSummaryManager
           
 
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
administrationConfigurationManager, bambooPermissionManager, buildDefinitionManager, buildManager, commentManager, CONFIRM, cookieCutter, dashboardCachingManager, planExecutionManager, planManager, projectManager
 
Fields inherited from class com.opensymphony.xwork.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
PlanActionSupport()
           
 
Method Summary
 java.lang.String getBuildKey()
           
 java.lang.Integer getBuildNumber()
           
 java.util.Collection<? extends ExecutionStatus> getCurrentlyBuildingPlans(PlanKey planKey)
           
 ErrorAccessor getErrorAccessor()
           
 Plan getPlan()
           
 java.lang.String getPlanKey()
           
 java.lang.String getPlanResultKey()
           
 Project getProject()
           
 ResultsSummaryManager getResultsSummaryManager()
           
 java.lang.Object getSecuredDomainObject()
           
 boolean hasPlanResultComments(ResultsSummary resultsSummary)
           
 void setBuildKey(java.lang.String buildKey)
           
 void setBuildNumber(java.lang.Integer buildNumber)
           
 void setErrorAccessor(ErrorAccessor errorAccessor)
           
 void setPlan(Plan plan)
           
 void setPlanExecutionManager(PlanExecutionManager planExecutionManager)
           
 void setPlanKey(java.lang.String planKey)
           
 void setPlanResultKey(java.lang.String planResultKey)
           
 void setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)
           
 
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, execute, getAdministrationConfiguration, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUserManager, getBaseUrl, getBootstrapManager, getBreadCrumbs, getBuildManager, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getFlushedErrorMessages, getFormattedActionErrors, getFormattedErrorMessages, getInstanceName, getJsonObject, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getReturnUrl, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebSectionsForLocation, hasAdminPermission, hasAnyErrors, hasBuilds, hasGlobalAdminPermission, hasGlobalPermission, hasKey, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, isCheckboxSetInAction, isEnableJavascript, isEnableSignup, isRestrictedAdminEnabled, isSelectFieldAndNull, renderFreemarkerTemplate, setAdministrationConfigurationManager, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setBuildManager, setCheckBoxFields, setCommentManager, setCookieCutter, setDashboardCachingManager, setEnableJavascript, setErrorMessages, setI18nBeanFactory, setPlanManager, setProjectManager, setReturnUrl, setWebInterfaceManager
 
Methods inherited from class com.opensymphony.xwork.ActionSupport
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, pause, setActionErrors, setActionMessages, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.utils.error.ErrorCollection
getErrorMessages, getErrors, getFieldErrors
 

Field Detail

buildNumber

protected java.lang.Integer buildNumber

resultsSummaryManager

protected ResultsSummaryManager resultsSummaryManager
Constructor Detail

PlanActionSupport

public PlanActionSupport()
Method Detail

getProject

public Project getProject()
Specified by:
getProject in interface ProjectAware

getPlan

public Plan getPlan()
Specified by:
getPlan in interface PlanAware

setPlan

public void setPlan(Plan plan)
Specified by:
setPlan in interface PlanAware

getPlanKey

public java.lang.String getPlanKey()

setPlanKey

public void setPlanKey(java.lang.String planKey)

getBuildKey

public java.lang.String getBuildKey()

setBuildKey

public void setBuildKey(java.lang.String buildKey)

getPlanResultKey

public java.lang.String getPlanResultKey()

setPlanResultKey

public void setPlanResultKey(java.lang.String planResultKey)

getBuildNumber

public java.lang.Integer getBuildNumber()

setBuildNumber

public void setBuildNumber(java.lang.Integer buildNumber)

getCurrentlyBuildingPlans

public java.util.Collection<? extends ExecutionStatus> getCurrentlyBuildingPlans(@NotNull
                                                                                 PlanKey planKey)

hasPlanResultComments

public boolean hasPlanResultComments(ResultsSummary resultsSummary)

getSecuredDomainObject

public java.lang.Object getSecuredDomainObject()
Specified by:
getSecuredDomainObject in interface DomainObjectSecurityAware
Overrides:
getSecuredDomainObject in class BambooActionSupport

getResultsSummaryManager

public ResultsSummaryManager getResultsSummaryManager()

setResultsSummaryManager

public void setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)

setPlanExecutionManager

public void setPlanExecutionManager(PlanExecutionManager planExecutionManager)
Overrides:
setPlanExecutionManager in class BambooActionSupport

getErrorAccessor

public ErrorAccessor getErrorAccessor()

setErrorAccessor

public void setErrorAccessor(ErrorAccessor errorAccessor)


Copyright © 2010 Atlassian. All Rights Reserved.