com.atlassian.bamboo.ww2.actions.build.admin.config.repository
Class ConfigureRepository
java.lang.Object
com.opensymphony.xwork.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.ww2.actions.PlanActionSupport
com.atlassian.bamboo.ww2.actions.build.admin.BuildConfigurationSupport
com.atlassian.bamboo.ww2.actions.build.admin.config.repository.ConfigureRepository
- All Implemented Interfaces:
- ErrorCollection, BambooSessionAware, BuildConfigurationAware, NavigationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, PlanEditSecurityAware, PlanAware, ProjectAware, RepositoryConfigurationAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, com.uwyn.rife.continuations.ContinuableObject, java.io.Serializable, java.lang.Cloneable
- Direct Known Subclasses:
- CreateRepository, DecoratedRepository, DeleteRepository, EditChainBranchRepository, EditRepository, MoveRepository, ToggleBuildRepository
public class ConfigureRepository
- extends BuildConfigurationSupport
- implements PlanEditSecurityAware, RepositoryConfigurationAware
- See Also:
- Serialized Form
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
administrationConfigurationManager, AGGREGATE_URL_PATTERN, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, CONFIRM, cookieCutter, dashboardCachingManager, PLAN_KEY_CONTEXT, planExecutionManager, planManager, projectManager, webInterfaceManager |
Fields inherited from class com.opensymphony.xwork.ActionSupport |
LOG |
Fields inherited from interface com.opensymphony.xwork.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Methods inherited from class com.atlassian.bamboo.ww2.actions.PlanActionSupport |
buildWebPanelContext, getBuildKey, getBuildNumber, getCurrentlyBuildingPlans, getErrorAccessor, getJobsWebItemsForSection, getPlan, getPlanKey, getPlanResultKey, getProject, getResultsSummaryManager, getTypedPlanResultKey, isRestartable, planNotFound, setBuildKey, setBuildNumber, setErrorAccessor, setPlan, setPlanExecutionManager, setPlanKey, setPlanResultKey, setRepositoryConfigurationService, setResultsSummaryManager |
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
addActionError, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, execute, getAdministrationConfiguration, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUserManager, getBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getFlushedErrorMessages, getFormattedActionErrors, getFormattedActionMessages, getFormattedErrorMessages, getInstanceName, getJobEquiv, getNavigationContext, getNavigationUrl, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getPluginAccessor, getReturnUrl, getServerLifecycleState, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTextProvider, getTexts, getTexts, getTextWithArgs, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebPanelContext, getWebSectionsForLocation, hasAdminPermission, hasAnyErrors, hasBuilds, hasGlobalAdminPermission, hasGlobalPermission, hasKey, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, isCheckboxSetInAction, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, renderFreemarkerTemplate, setAdministrationConfigurationManager, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDashboardCachingManager, setDecorator, setEnableJavascript, setErrorMessages, setI18nBeanFactory, setJobEquiv, setNavigationContext, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, pause, setActionErrors, setActionMessages, setFieldErrors, validate |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SELECTED_REPOSITORY
protected java.lang.String SELECTED_REPOSITORY
saved
protected boolean saved
repositoryId
protected long repositoryId
repositoryName
protected java.lang.String repositoryName
repositoryDefinition
protected RepositoryDefinition repositoryDefinition
userDescription
protected java.lang.String userDescription
decoratedRepositoryDefinition
protected DecoratedRepositoryDefinition decoratedRepositoryDefinition
buildStrategyConfigHelper
protected BuildStrategyConfigHelper buildStrategyConfigHelper
repositoryConfigHelper
protected RepositoryConfigHelper repositoryConfigHelper
webRepositoryConfigHelper
protected WebRepositoryConfigHelper webRepositoryConfigHelper
planConfigurationUIPluginHelper
protected PlanConfigurationUIPluginHelper planConfigurationUIPluginHelper
planVcsRevisionHistoryService
protected PlanVcsRevisionHistoryService planVcsRevisionHistoryService
ConfigureRepository
public ConfigureRepository()
getJsonObject
@NotNull
public com.opensymphony.webwork.dispatcher.json.JSONObject getJsonObject()
throws com.opensymphony.webwork.dispatcher.json.JSONException
- Description copied from class:
BambooActionSupport
- This is default property read by webwork for webwork's result type "json".
- Overrides:
getJsonObject
in class BambooActionSupport
- Returns:
-
- Throws:
com.opensymphony.webwork.dispatcher.json.JSONException
- See Also:
- JSON Result
getRepositoryById
@Nullable
public RepositoryDefinition getRepositoryById(long id)
- Specified by:
getRepositoryById
in interface RepositoryConfigurationAware
getRepositoryPluginKeys
@NotNull
public java.lang.String getRepositoryPluginKeys()
setRepositoryData
public void setRepositoryData(RepositoryData repositoryData)
- Specified by:
setRepositoryData
in interface RepositoryConfigurationAware
setRepositoryDefinition
public void setRepositoryDefinition(RepositoryDefinition repositoryDefinition)
validatePlan
protected void validatePlan()
validateName
protected void validateName()
getRepositoryId
public long getRepositoryId()
setRepositoryId
public void setRepositoryId(long repositoryId)
getRepositoryDefinition
public RepositoryDefinition getRepositoryDefinition()
getUserDescription
public java.lang.String getUserDescription()
setUserDescription
public void setUserDescription(java.lang.String userDescription)
getRepositoryName
public java.lang.String getRepositoryName()
setRepositoryName
public void setRepositoryName(java.lang.String repositoryName)
setBuildStrategyConfigHelper
public void setBuildStrategyConfigHelper(BuildStrategyConfigHelper buildStrategyConfigHelper)
setRepositoryConfigHelper
public void setRepositoryConfigHelper(RepositoryConfigHelper repositoryConfigHelper)
setWebRepositoryConfigHelper
public void setWebRepositoryConfigHelper(WebRepositoryConfigHelper webRepositoryConfigHelper)
setPlanConfigurationUIPluginHelper
public void setPlanConfigurationUIPluginHelper(PlanConfigurationUIPluginHelper planConfigurationUIPluginHelper)
setPlanVcsRevisionHistoryService
public void setPlanVcsRevisionHistoryService(PlanVcsRevisionHistoryService planVcsRevisionHistoryService)
Copyright © 2012 Atlassian. All Rights Reserved.