public abstract class ImportMavenPlanAction extends BambooActionSupport implements GlobalCreatePlanSecurityAware, BuildConfigurationAware, com.opensymphony.xwork2.Preparable, PlanLimitAware
BambooActionSupport.JSONStatus
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 |
---|
ImportMavenPlanAction() |
addActionError, addActionError, addActionWarning, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addFieldErrors, addHelpPanel, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, buildWebPanelContext, 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, getSecuredDomainObject, 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, hasProjectPermission, hasProjectPermission, hasRestrictedAdminPermission, hasResultKeyReadPermission, isCheckboxSetInAction, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, isViewContactDetailsEnabled, renderFreemarkerTemplate, setAdministrationConfigurationAccessor, setAdministrationConfigurationManager, setAdministrationConfigurationPersister, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setCachedPlanManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDecorator, setDeploymentProjectService, setDocumentationLinkProvider, setEnableJavascript, setEnvironmentService, setErrorMessages, setFeatureManager, setI18nBeanFactory, setJobEquiv, setJsonator, setLocalizedTextProvider, setNavigationContext, setPlanExecutionManager, 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
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSecuredDomainObject
getAllErrorMessages
protected static final String PLAN_CREATION_DENIED_ERROR
protected String existingProjectKey
protected String projectKey
protected String projectName
protected String projectDescription
protected boolean planLimitReached
protected BuildConfiguration buildConfiguration
protected List<VcsUIConfigBean.VcsTypeSelector> vcsTypeSelectors
@Autowired protected TaskManager taskManager
@Autowired protected PlanValidationService planValidationService
@Autowired protected RepositoryManager repositoryManager
@Autowired protected ChainCreationService chainCreationService
@Autowired protected CustomVariableContext customVariableContext
@Autowired protected VariableSubstitutorFactory variableSubstitutorFactory
@Autowired protected VcsRepositoryManager vcsRepositoryManager
@Autowired protected VcsUIConfigBean vcsUIConfigBean
@Autowired protected RepositoryDefinitionManager repositoryDefinitionManager
@Autowired protected VcsRepositoryConfigurationService vcsRepositoryConfigurationService
@Autowired protected UIConfigSupport uiConfigBean
@Autowired protected VcsViewerUIConfigBean vcsViewerUIConfigBean
public void prepare() throws Exception
prepare
in interface com.opensymphony.xwork2.Preparable
Exception
protected abstract void initVcsTypeSelectors(@NotNull @NotNull TaskRenderMode renderMode)
public void validate()
validate
in interface com.opensymphony.xwork2.Validateable
validate
in class com.opensymphony.xwork2.ActionSupport
public boolean isPlanLimitReached()
PlanLimitAware
isPlanLimitReached
in interface PlanLimitAware
public void setPlanLimitReached()
PlanLimitAware
setPlanLimitReached
in interface PlanLimitAware
public Plan getImmutablePlan()
getImmutablePlan
in interface PlanAware
@Deprecated public Plan getPlan()
public Plan getMutablePlan()
getMutablePlan
in interface PlanAware
public void setPlan(ImmutablePlan plan)
public BuildConfiguration getBuildConfiguration()
getBuildConfiguration
in interface BareBuildConfigurationAware
public void setBuildConfiguration(BuildConfiguration buildConfiguration)
setBuildConfiguration
in interface BareBuildConfigurationAware
public List<Repository> getRepositories()
public List<VcsUIConfigBean.VcsTypeSelector> getVcsTypeSelectors()
@NotNull public @NotNull Map<String,String> getAvailableMavenBuilders()
protected String getSelectedRepositoryKey()
protected String getSelectedWebRepositoryViewerKey()
protected String getBuildKey()
protected String getBuildName()
public String getExistingProjectKey()
public void setExistingProjectKey(String existingProjectKey)
public String getProjectKey()
public void setProjectKey(String projectKey)
public String getProjectName()
public void setProjectName(String projectName)
public String getProjectDescription()
public void setProjectDescription(String projectDescription)
public UIConfigSupport getUiConfigBean()
public VcsUIConfigBean getVcsUIConfigBean()
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.