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:
- AvailableVariablesAction, BuildActionSupport, BuildConfigurationSupport, ChainActionSupport, ConfigureArtifactSubscription, ConfigureBuildArtifact, CreateRemoteJiraLinkAction, DeleteHgCacheDirectory, DeletePlan, DeletePlanResults, EditLabelsAction, PlanResultsAction, ResponsibleAvatars, ShowLatestBuildStatus, StopPlan, ViewActivityLog, ViewLabels, ViewPlanConfiguration, ViewQuarantinedTests, ViewRunningPlans
public class PlanActionSupport
- extends BambooActionSupport
- implements ProjectAware, PlanAware, DomainObjectSecurityAware
- See Also:
- Serialized Form
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
administrationConfigurationManager, AGGREGATE_URL_PATTERN, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, cachedPlanManager, CONFIRM, cookieCutter, dashboardCachingManager, featureManager, PLAN_KEY_CONTEXT, planExecutionManager, planManager, projectManager, webInterfaceManager |
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 |
addActionError, addActionWarning, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, execute, forceRelativeReturnUrl, getActionWarnings, getAdministrationConfiguration, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUrl, getBambooUserManager, getBaseUrl, getBestBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getElasticConfig, getFeatureManager, getFieldErrorAccessTracker, getFieldErrors, getFlushedErrorMessages, getFormattedActionErrors, getFormattedActionMessages, getFormattedErrorMessages, getInstanceName, getJobEquiv, getJsonObject, getNavigationContext, getNavigationUrl, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getPluginAccessor, getReturnUrl, getServerLifecycleState, getSessionUser, 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, hasGlobalAdminPermission, hasGlobalPermission, hasGlobalPermission, hasKey, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, isCheckboxSetInAction, isEc2ConfigurationWarningRequired, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, renderFreemarkerTemplate, setAdministrationConfigurationManager, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setCachedPlanManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDashboardCachingManager, setDecorator, setEnableJavascript, setErrorMessages, setFeatureManager, setI18nBeanFactory, setJobEquiv, setNavigationContext, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, getActionErrors, getActionMessages, getErrorMessages, getErrors, 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
repositoryConfigurationService
protected RepositoryConfigurationService repositoryConfigurationService
jiraApplinksService
protected JiraApplinksService jiraApplinksService
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
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()
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
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 java.lang.String planNotFound()
getJobsWebItemsForSection
public java.util.Map<com.atlassian.plugin.web.descriptors.WebItemModuleDescriptor,java.lang.String> getJobsWebItemsForSection(java.lang.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 © 2012 Atlassian. All Rights Reserved.