public class ConfigureGlobalRepository extends BambooActionSupport implements RepositoryConfigurationAware, com.atlassian.struts.Preparable
BambooActionSupport.JSONStatus
Modifier and Type | Field and Description |
---|---|
protected CustomVariableContext |
customVariableContext |
protected DecoratedRepositoryDefinition |
decoratedRepositoryDefinition |
protected PlanConfigurationUIPluginHelper |
planConfigurationUIPluginHelper |
protected PlanVcsRevisionHistoryService |
planVcsRevisionHistoryService |
protected RepositoryConfigHelper |
repositoryConfigHelper |
protected RepositoryConfigurationService |
repositoryConfigurationService |
protected RepositoryData |
repositoryData |
protected RepositoryDefinitionManager |
repositoryDefinitionManager |
protected long |
repositoryId |
protected String |
repositoryName |
protected boolean |
saved |
protected UIConfigBean |
uiConfigBean |
protected String |
userDescription |
protected VariableSubstitutorFactory |
variableSubstitutorFactory |
protected WebRepositoryConfigHelper |
webRepositoryConfigHelper |
ACCESS_DENIED, administrationConfigurationAccessor, administrationConfigurationManager, administrationConfigurationPersister, AGGREGATE_URL_PATTERN, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, cachedPlanManager, CONFIRM, cookieCutter, dashboardCachingManager, environmentService, featureManager, PAGE_NOT_FOUND, PLAN_KEY_CONTEXT, planExecutionManager, planManager, pluginAccessor, projectManager, webInterfaceManager
Constructor and Description |
---|
ConfigureGlobalRepository() |
addActionError, addActionWarning, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addFieldErrors, addHelpPanel, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, buildWebPanelContext, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, doInput, execute, forceRelativeReturnUrl, getActionWarnings, getAdministrationConfiguration, getAvailableCategoryJson, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUrl, getBambooUserManager, getBaseUrl, getBestBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDeploymentProject, getDescriptionFromLabelKey, getElasticConfig, getFeatureManager, getFieldErrorAccessTracker, getFieldErrors, getFlushedErrorMessages, getFormattedActionErrors, getFormattedActionMessages, getFormattedActionWarnings, getHelpPanels, getInstanceName, getJobEquiv, 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, hasLinkedDeployments, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, input, isCheckboxSetInAction, isEc2ConfigurationWarningRequired, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, isViewContactDetailsEnabled, renderFreemarkerTemplate, setAdministrationConfigurationAccessor, setAdministrationConfigurationManager, setAdministrationConfigurationPersister, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setCachedPlanManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDashboardCachingManager, setDecorator, setEnableJavascript, setEnvironmentService, setErrorMessages, setFeatureManager, setI18nBeanFactory, setJobEquiv, setJsonator, setNavigationContext, setPlanExecutionManager, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager, toJson, toJson
addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFormatted, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getErrorMessages, getErrors
protected boolean saved
protected long repositoryId
protected String repositoryName
protected RepositoryData repositoryData
protected String userDescription
protected DecoratedRepositoryDefinition decoratedRepositoryDefinition
@Autowired protected RepositoryDefinitionManager repositoryDefinitionManager
@Autowired protected RepositoryConfigHelper repositoryConfigHelper
@Autowired protected WebRepositoryConfigHelper webRepositoryConfigHelper
@Autowired protected PlanConfigurationUIPluginHelper planConfigurationUIPluginHelper
@Autowired protected PlanVcsRevisionHistoryService planVcsRevisionHistoryService
@Autowired protected RepositoryConfigurationService repositoryConfigurationService
@Autowired protected UIConfigBean uiConfigBean
@Autowired protected CustomVariableContext customVariableContext
@Autowired protected VariableSubstitutorFactory variableSubstitutorFactory
public void prepare() throws Exception
prepare
in interface com.opensymphony.xwork2.Preparable
Exception
@NotNull public com.opensymphony.webwork.dispatcher.json.JSONObject getJsonObject() throws com.opensymphony.webwork.dispatcher.json.JSONException
BambooActionSupport
getJsonObject
in class BambooActionSupport
com.opensymphony.webwork.dispatcher.json.JSONException
If descending classes need to add anything to JSON response these should override {@link #buildJsonObject()} method.
public void validateName()
@Nullable public RepositoryData getRepositoryById(long id)
getRepositoryById
in interface RepositoryConfigurationAware
public void setRepositoryData(RepositoryData repositoryData)
setRepositoryData
in interface RepositoryConfigurationAware
public void setBuildConfiguration(BuildConfiguration repositoryConfiguration)
setBuildConfiguration
in interface BareBuildConfigurationAware
setBuildConfiguration
in interface RepositoryConfigurationAware
public BuildConfiguration getBuildConfiguration()
getBuildConfiguration
in interface BareBuildConfigurationAware
public List<? extends RepositoryData> getRepositoryDefinitions()
public List<PlanIdentifier> getPlanUsingRepository()
public int getHiddenPlansUsingRepositoryCount()
public List<EnvironmentRepositoryLink> getEnvironmentUsingRepository()
public Integer getHiddenEnvironmentsUsingRepositoryCount()
public boolean isSaved()
public void setSaved(boolean saved)
public long getRepositoryId()
public void setRepositoryId(long repositoryId)
public String getRepositoryName()
public void setRepositoryName(String repositoryName)
public String getUserDescription()
public void setUserDescription(String userDescription)
public DecoratedRepositoryDefinition getDecoratedRepositoryDefinition()
public void setDecoratedRepositoryDefinition(DecoratedRepositoryDefinition decoratedRepositoryDefinition)
public BuildConfiguration getRepositoryConfiguration()
public void setRepositoryConfiguration(BuildConfiguration repositoryConfiguration)
public UIConfigBean getUiConfigBean()
public int getRepositoryNameMaxLength()
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.