public class PlanActionSupport extends BambooActionSupport implements ProjectAware, PlanAware
BambooActionSupport.JSONStatus
Modifier and Type | Field and Description |
---|---|
protected Integer |
buildNumber |
protected JiraApplinksService |
jiraApplinksService |
protected RepositoryDefinitionManager |
repositoryDefinitionManager |
protected ResultsSummaryManager |
resultsSummaryManager |
protected VcsRepositoryConfigurationService |
vcsRepositoryConfigurationService |
ACCESS_DENIED, administrationConfigurationAccessor, administrationConfigurationManager, administrationConfigurationPersister, AGGREGATE_URL_PATTERN, authenticationContext, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, cachedPlanManager, CONFIRM, cookieCutter, deploymentProjectService, featureManager, PAGE_NOT_FOUND, PLAN_KEY_CONTEXT, planExecutionManager, planManager, pluginAccessor, projectManager, webInterfaceManager
Constructor and Description |
---|
PlanActionSupport() |
addActionError, addActionError, addActionWarning, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addFieldErrors, addHelpPanel, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, doInput, forceRelativeReturnUrl, getActionWarnings, getAdministrationConfiguration, getAvailableCategoryJson, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUrl, getBambooUserManager, getBaseUrl, getBestBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getElasticConfig, getErrorMessages, getErrors, 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, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, isCheckboxSetInAction, isEc2ConfigurationWarningRequired, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, isViewContactDetailsEnabled, renderFreemarkerTemplate, setAdministrationConfigurationAccessor, setAdministrationConfigurationManager, setAdministrationConfigurationPersister, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setCachedPlanManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDecorator, setDeploymentProjectService, setDocumentationLinkProvider, setEnableJavascript, setErrorMessages, setFeatureManager, setI18nBeanFactory, setJobEquiv, setJsonator, setLocalizedTextProvider, setNavigationContext, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager, streamJson, toJson, toJson
addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, execute, getActionErrors, getActionMessages, getContainer, getFormatted, getLocale, getLocaleProvider, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAllErrorMessages
protected Integer buildNumber
protected ResultsSummaryManager resultsSummaryManager
protected VcsRepositoryConfigurationService vcsRepositoryConfigurationService
protected JiraApplinksService jiraApplinksService
protected RepositoryDefinitionManager repositoryDefinitionManager
public Project getProject()
getProject
in interface ProjectAware
@Nullable public ImmutablePlan getImmutablePlan()
getImmutablePlan
in interface PlanAware
@Deprecated public Plan getPlan()
public Plan getMutablePlan()
getMutablePlan
in interface PlanAware
public void setPlan(ImmutablePlan plan)
public String getPlanKey()
public void setPlanKey(String planKey)
public String getBuildKey()
public void setBuildKey(String buildKey)
public String getPlanResultKey()
@Nullable public PlanKey getTypedPlanKey()
@Nullable public PlanResultKey getTypedPlanResultKey()
public void setPlanResultKey(String planResultKey)
public Integer getBuildNumber()
public void setBuildNumber(Integer buildNumber)
public Collection<? extends ExecutionStatus> getCurrentlyBuildingPlans(@NotNull PlanKey planKey)
public Object getSecuredDomainObject()
getSecuredDomainObject
in interface DomainObjectSecurityAware
getSecuredDomainObject
in class BambooActionSupport
public boolean isJiraApplicationLinkDefined()
protected ResultsSummaryManager getResultsSummaryManager()
public void setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)
public void setPlanExecutionManager(PlanExecutionManager planExecutionManager)
setPlanExecutionManager
in class BambooActionSupport
public ErrorAccessor getErrorAccessor()
public void setDecoratingErrorAccessor(DecoratingErrorAccessorImpl errorAccessor)
errorAccessor
- decoratingErrorAccessor bean@NotNull protected Map<String,Object> buildWebPanelContext(@NotNull String location)
BambooActionSupport
WebPanel
s via FreemarkerContext.getWebPanels(String)
In
the future the results of this method may be cachedbuildWebPanelContext
in class BambooActionSupport
protected String planNotFound()
public Map<com.atlassian.plugin.web.descriptors.WebItemModuleDescriptor,String> getJobsWebItemsForSection(String sectionName, javax.servlet.http.HttpServletRequest req)
public boolean isRestartable(@NotNull ResultsSummary resultsSummary)
public boolean isContinuable(@NotNull ResultsSummary resultsSummary)
@Nullable public String getFirstNotRunnableStage(@NotNull ResultsSummary resultsSummary)
public void setJiraApplinksService(JiraApplinksService jiraApplinksService)
public void setRepositoryDefinitionManager(RepositoryDefinitionManager repositoryDefinitionManager)
public void setVcsRepositoryConfigurationService(VcsRepositoryConfigurationService vcsRepositoryConfigurationService)
public void setBuildContextFactory(BuildContextFactory buildContextFactory)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.