public class CreateChain extends BambooActionSupport implements GlobalCreatePlanSecurityAware, PlanLimitAware, BuildConfigurationAware
BambooActionSupport.JSONStatus
Modifier and Type | Field and Description |
---|---|
static String |
JOB_KEY |
static String |
JOB_NAME |
static String |
STAGE_NAME |
protected VcsConfigurationHelper |
vcsConfigurationHelper |
protected VcsRepositoryConfigurationService |
vcsRepositoryConfigurationService |
ACCESS_DENIED, administrationConfigurationAccessor, administrationConfigurationManager, administrationConfigurationPersister, AGGREGATE_URL_PATTERN, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, cachedPlanManager, CONFIRM, cookieCutter, dashboardCachingManager, featureManager, PAGE_NOT_FOUND, PLAN_KEY_CONTEXT, planExecutionManager, planManager, pluginAccessor, projectManager, webInterfaceManager
Constructor and Description |
---|
CreateChain() |
addActionError, addActionWarning, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addFieldErrors, addHelpPanel, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, buildWebPanelContext, checkFieldXssSafety, createFieldValidator, 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, hasRestrictedAdminPermission, isCheckboxSetInAction, isEc2ConfigurationWarningRequired, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, isViewContactDetailsEnabled, renderFreemarkerTemplate, setAdministrationConfigurationAccessor, setAdministrationConfigurationManager, setAdministrationConfigurationPersister, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setCachedPlanManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDashboardCachingManager, setDecorator, setDocumentationLinkProvider, setEnableJavascript, setErrorMessages, setFeatureManager, setI18nBeanFactory, setJobEquiv, setJsonator, setNavigationContext, setPlanExecutionManager, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager, toJson, toJson
addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, execute, getActionErrors, getActionMessages, getFormatted, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSecuredDomainObject
getAllErrorMessages
public static final String STAGE_NAME
public static final String JOB_NAME
public static final String JOB_KEY
@Autowired protected VcsRepositoryConfigurationService vcsRepositoryConfigurationService
@Autowired protected VcsConfigurationHelper vcsConfigurationHelper
public String doDefault() throws Exception
BambooActionSupport
doDefault
in class BambooActionSupport
Exception
public void validate()
validate
in interface com.opensymphony.xwork2.Validateable
validate
in class com.opensymphony.xwork2.ActionSupport
public Collection<String> getAvailableJdks()
public BuildConfiguration getBuildConfiguration()
getBuildConfiguration
in interface BareBuildConfigurationAware
@NotNull public String getRepositoryPluginKeys()
public void setBuildConfiguration(BuildConfiguration buildConfiguration)
setBuildConfiguration
in interface BareBuildConfigurationAware
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 getBuildKey()
public void setBuildKey(String buildKey)
public void setPlanLimitReached()
PlanLimitAware
setPlanLimitReached
in interface PlanLimitAware
public boolean isPlanLimitReached()
PlanLimitAware
isPlanLimitReached
in interface PlanLimitAware
public String getJobKey()
public boolean isClonePlan()
public void setClonePlan(boolean clonePlan)
public String getPlanKeyToClone()
public void setPlanKeyToClone(String planKeyToClone)
public String getExistingProjectKey()
public void setExistingProjectKey(String existingProjectKey)
public String getRepositoryName()
public void setRepositoryName(String repositoryName)
public VcsUIConfigBean getVcsUIConfigBean()
@NotNull public Collection<ImmutableChain> getPlansToClone()
public List<VcsUIConfigBean.VcsTypeSelector> getVcsTypeSelectors()
public List<VcsUIConfigBean.VcsTypeSelector> getPrimaryVcsTypeSelectors()
public List<VcsUIConfigBean.VcsTypeSelector> getNonPrimaryVcsTypeSelectors()
public UIConfigSupport getUiConfigBean()
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.