com.atlassian.bamboo.ww2.actions
Class PlanActionSupport
java.lang.Object
com.opensymphony.xwork.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.ww2.actions.PlanActionSupport
- All Implemented Interfaces:
- ErrorCollection, BambooSessionAware, NavigationAware, 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:
- AbstractContinuableBuildAction, AvailableVariablesAction, BuildActionSupport, BuildConfigurationSupport, ChainActionSupport, ConfigureArtifactSubscription, ConfigureBuildArtifact, DeleteHgCacheDirectory, DeletePlan, DeletePlanResults, EditLabelsAction, LoadBitbucketRepositories, PlanResultsAction, ShowLatestBuildStatus, StopPlan, TriggerManualBuild, ViewActivityLog, ViewLabels, ViewPlanConfiguration, ViewRunningPlans
public class PlanActionSupport
- extends BambooActionSupport
- implements ProjectAware, PlanAware, DomainObjectSecurityAware
- See Also:
- Serialized Form
| Fields inherited from class com.opensymphony.xwork.ActionSupport |
LOG |
| Fields inherited from interface com.opensymphony.xwork.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
| 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, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getFlushedErrorMessages, getFormattedActionErrors, getFormattedActionMessages, getFormattedErrorMessages, getInstanceName, getJobEquiv, getJsonObject, getNavigationContext, getNavigationUrl, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getPluginAccessor, getReturnUrl, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, getTextWithArgs, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebPanelContext, getWebSectionsForLocation, hasAdminPermission, hasAnyErrors, hasBuilds, hasGlobalAdminPermission, hasGlobalPermission, hasKey, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, isCheckboxSetInAction, isEnableJavascript, isEnableSignup, isRestrictedAdminEnabled, isSelectFieldAndNull, renderFreemarkerTemplate, setAdministrationConfigurationManager, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDashboardCachingManager, setEnableJavascript, setErrorMessages, setI18nBeanFactory, setJobEquiv, setNavigationContext, setPlanManager, setPluginAccessor, 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 |
buildNumber
protected java.lang.Integer buildNumber
resultsSummaryManager
protected ResultsSummaryManager resultsSummaryManager
PlanActionSupport
public PlanActionSupport()
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()
getTypedPlanResultKey
@Nullable
public PlanResultKey getTypedPlanResultKey()
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)
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)
buildWebPanelContext
@NotNull
protected java.util.Map<java.lang.String,java.lang.Object> buildWebPanelContext(@NotNull
java.lang.String location)
- Description copied from class:
BambooActionSupport
- Builds a context suitable for rendering
WebPanels via #getWebPanels(String)
In the future the results of this method may be cached
- Overrides:
buildWebPanelContext in class BambooActionSupport
- Returns:
- context
planNotFound
protected java.lang.String planNotFound()
Copyright © 2011 Atlassian. All Rights Reserved.