public class CreateChainRepository extends BuildConfigurationSupport implements AuthenticatedUserSecurityAware, PlanLimitAware, BuildConfigurationAware
BambooActionSupport.JSONStatus
Modifier and Type | Field and Description |
---|---|
static String |
PERMISSION_DENIED_ERROR |
protected VcsConfigurationHelper |
vcsConfigurationHelper |
protected VcsRepositoryConfigurationService |
vcsRepositoryConfigurationService |
BACK, eventPublisher
buildNumber, jiraApplinksService, resultsSummaryManager
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, projectManager, webInterfaceManager
Constructor and Description |
---|
CreateChainRepository() |
Modifier and Type | Method and Description |
---|---|
String |
addRepository() |
String |
getExistingProjectKey() |
String |
getJobKey() |
List<VcsUIConfigBean.VcsTypeSelector> |
getNonPrimaryVcsTypeSelectors() |
List<VcsUIConfigBean.VcsTypeSelector> |
getPrimaryVcsTypeSelectors() |
String |
getRepositoryName() |
String |
getRepositoryPluginKeys() |
UIConfigSupport |
getUiConfigBean() |
List<VcsUIConfigBean.VcsTypeSelector> |
getVcsTypeSelectors() |
VcsUIConfigBean |
getVcsUIConfigBean() |
String |
input() |
boolean |
isNewProject() |
boolean |
isPlanLimitReached()
Allows UI to check whether the plan limit has been reached
|
void |
setExistingProjectKey(String existingProjectKey) |
void |
setJobKey(String jobKey) |
void |
setNewProject(boolean newProject) |
void |
setPlanLimitReached()
Called if the interceptor detects that the plan limit has been exhausted.
|
void |
setRepositoryName(String repositoryName) |
void |
validate() |
getBuildConfiguration, getBuildConfigurationAsXml, getSecuredDomainObject, isSaved, savePlan, setBuildConfiguration, setEventPublisher, setSaved, setUiConfigBean
buildWebPanelContext, getBuildKey, getBuildNumber, getCurrentlyBuildingPlans, getErrorAccessor, getFirstNotRunnableStage, getImmutablePlan, getJobsWebItemsForSection, getMutablePlan, getPlan, getPlanKey, getPlanResultKey, getProject, getResultsSummaryManager, getTypedPlanKey, getTypedPlanResultKey, isContinuable, isJiraApplicationLinkDefined, isRestartable, planNotFound, setBuildContextFactory, setBuildKey, setBuildNumber, setDecoratingErrorAccessor, setJiraApplinksService, setPlan, setPlanExecutionManager, setPlanKey, setPlanResultKey, setRepositoryDefinitionManager, setResultsSummaryManager, setVcsRepositoryConfigurationService
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, 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, 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, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSecuredDomainObject
getImmutablePlan, getMutablePlan, getPlan, setPlan
getBuildConfiguration, setBuildConfiguration
getAllErrorMessages
public static final String PERMISSION_DENIED_ERROR
@Autowired protected VcsRepositoryConfigurationService vcsRepositoryConfigurationService
@Autowired protected VcsConfigurationHelper vcsConfigurationHelper
public String input() throws Exception
input
in class com.opensymphony.xwork2.ActionSupport
Exception
public void validate()
validate
in interface com.opensymphony.xwork2.Validateable
validate
in class com.opensymphony.xwork2.ActionSupport
public String addRepository()
@NotNull public String getRepositoryPluginKeys()
public void setPlanLimitReached()
PlanLimitAware
setPlanLimitReached
in interface PlanLimitAware
public boolean isPlanLimitReached()
PlanLimitAware
isPlanLimitReached
in interface PlanLimitAware
public String getJobKey()
public void setJobKey(String jobKey)
public String getExistingProjectKey()
public void setExistingProjectKey(String existingProjectKey)
public String getRepositoryName()
public void setRepositoryName(String repositoryName)
public VcsUIConfigBean getVcsUIConfigBean()
public List<VcsUIConfigBean.VcsTypeSelector> getVcsTypeSelectors()
public List<VcsUIConfigBean.VcsTypeSelector> getPrimaryVcsTypeSelectors()
public List<VcsUIConfigBean.VcsTypeSelector> getNonPrimaryVcsTypeSelectors()
public UIConfigSupport getUiConfigBean()
getUiConfigBean
in class BuildConfigurationSupport
public boolean isNewProject()
public void setNewProject(boolean newProject)
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.