com.atlassian.bamboo.ww2.actions
Class PlanActionSupport
java.lang.Object
com.opensymphony.xwork2.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.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, Serializable
- Direct Known Subclasses:
- AvailableVariablesAction, BuildActionSupport, BuildConfigurationSupport, ChainActionSupport, ConfigureArtifactSubscription, ConfigureBuildArtifact, CreateRemoteJiraLinkAction, DeleteGitCacheDirectoryAction, DeleteHgCacheDirectory, DeletePlan, DeletePlanResults, EditLabelsAction, LoadGitHubRepositories, PlanResultsAction, ResponsibleAvatars, ShowLatestBuildStatus, StopPlan, ViewActivityLog, ViewLabels, ViewPlanConfiguration, ViewQuarantinedTests, ViewRunningPlans, ViewTestsSummaryForPlan
public class PlanActionSupport
- extends BambooActionSupport
- implements ProjectAware, PlanAware
- See Also:
- Serialized Form
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
ACCESS_DENIED, administrationConfigurationAccessor, administrationConfigurationManager, administrationConfigurationPersister, AGGREGATE_URL_PATTERN, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, cachedPlanManager, CONFIRM, cookieCutter, dashboardCachingManager, environmentService, featureManager, PAGE_NOT_FOUND, PLAN_KEY_CONTEXT, planExecutionManager, planManager, pluginAccessor, projectManager, webInterfaceManager |
Fields inherited from class com.opensymphony.xwork2.ActionSupport |
LOG |
Fields inherited from interface com.opensymphony.xwork2.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
addActionError, addActionWarning, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addFieldErrors, addHelpPanel, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, doInput, execute, forceRelativeReturnUrl, getActionWarnings, getAdministrationConfiguration, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUrl, getBambooUserManager, getBaseUrl, getBestBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDeploymentProject, getDescriptionFromLabelKey, getElasticConfig, getFeatureManager, getFieldErrorAccessTracker, getFieldErrors, getFlushedErrorMessages, getFormattedActionErrors, getFormattedActionMessages, getFormattedActionWarnings, getHelpPanels, getInstanceName, getJobEquiv, getJsonObject, getNavigationContext, getNavigationUrl, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getPluginAccessor, getReturnUrl, getServerLifecycleState, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTextProvider, getTexts, getTexts, getTextWithArgs, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebPanelContext, getWebSectionsForLocation, hasActionWarnings, hasAdminPermission, hasAnyErrors, hasBuilds, hasEntityPermission, hasGlobalAdminPermission, hasGlobalPermission, hasGlobalPermission, hasKey, hasLinkedDeployments, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, input, isCheckboxSetInAction, isEc2ConfigurationWarningRequired, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, isViewContactDetailsEnabled, renderFreemarkerTemplate, setAdministrationConfigurationAccessor, setAdministrationConfigurationManager, setAdministrationConfigurationPersister, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setCachedPlanManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDashboardCachingManager, setDecorator, setEnableJavascript, setEnvironmentService, setErrorMessages, setFeatureManager, setI18nBeanFactory, setJobEquiv, setJsonator, setLinkedDeploymentProjectCacheService, setNavigationContext, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager, toJson, toJson |
Methods inherited from class com.opensymphony.xwork2.ActionSupport |
addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFormatted, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate |
Methods inherited from interface com.opensymphony.xwork2.ValidationAware |
addActionMessage, addFieldError, getActionErrors, getActionMessages, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors |
buildNumber
protected Integer buildNumber
resultsSummaryManager
protected ResultsSummaryManager resultsSummaryManager
repositoryConfigurationService
protected RepositoryConfigurationService repositoryConfigurationService
jiraApplinksService
protected JiraApplinksService jiraApplinksService
PlanActionSupport
public PlanActionSupport()
getProject
public Project getProject()
- Specified by:
getProject
in interface ProjectAware
getImmutablePlan
public ImmutablePlan getImmutablePlan()
- Specified by:
getImmutablePlan
in interface PlanAware
getPlan
@Deprecated
public Plan getPlan()
- Deprecated. since 4.4
- Specified by:
getPlan
in interface PlanAware
getMutablePlan
public Plan getMutablePlan()
- Specified by:
getMutablePlan
in interface PlanAware
setPlan
public void setPlan(ImmutablePlan plan)
- Specified by:
setPlan
in interface PlanAware
getPlanKey
public String getPlanKey()
setPlanKey
public void setPlanKey(String planKey)
getBuildKey
public String getBuildKey()
setBuildKey
public void setBuildKey(String buildKey)
getPlanResultKey
public String getPlanResultKey()
getTypedPlanKey
@Nullable
public PlanKey getTypedPlanKey()
getTypedPlanResultKey
@Nullable
public PlanResultKey getTypedPlanResultKey()
setPlanResultKey
public void setPlanResultKey(String planResultKey)
getBuildNumber
public Integer getBuildNumber()
setBuildNumber
public void setBuildNumber(Integer buildNumber)
getCurrentlyBuildingPlans
public Collection<? extends ExecutionStatus> getCurrentlyBuildingPlans(@NotNull
PlanKey planKey)
getSecuredDomainObject
public Object getSecuredDomainObject()
- Specified by:
getSecuredDomainObject
in interface DomainObjectSecurityAware
- Overrides:
getSecuredDomainObject
in class BambooActionSupport
isJiraApplicationLinkDefined
public boolean isJiraApplicationLinkDefined()
getResultsSummaryManager
protected ResultsSummaryManager getResultsSummaryManager()
setResultsSummaryManager
public void setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)
setPlanExecutionManager
public void setPlanExecutionManager(PlanExecutionManager planExecutionManager)
- Overrides:
setPlanExecutionManager
in class BambooActionSupport
getErrorAccessor
public ErrorAccessor getErrorAccessor()
- Returns decoratingErrorAccessor bean
setDecoratingErrorAccessor
public void setDecoratingErrorAccessor(DecoratingErrorAccessorImpl errorAccessor)
- Property injection with autowiring via property name
- Parameters:
errorAccessor
- decoratingErrorAccessor bean
buildWebPanelContext
@NotNull
protected Map<String,Object> buildWebPanelContext(@NotNull
String location)
- Description copied from class:
BambooActionSupport
- Builds a context suitable for rendering
WebPanel
s via FreemarkerContext.getWebPanels(String)
In
the future the results of this method may be cached
- Overrides:
buildWebPanelContext
in class BambooActionSupport
- Returns:
- context
planNotFound
protected String planNotFound()
getJobsWebItemsForSection
public Map<com.atlassian.plugin.web.descriptors.WebItemModuleDescriptor,String> getJobsWebItemsForSection(String sectionName,
javax.servlet.http.HttpServletRequest req)
isRestartable
public boolean isRestartable(@NotNull
ResultsSummary resultsSummary)
setRepositoryConfigurationService
public void setRepositoryConfigurationService(RepositoryConfigurationService repositoryConfigurationService)
setJiraApplinksService
public void setJiraApplinksService(JiraApplinksService jiraApplinksService)
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.