com.atlassian.bamboo.configuration.repository
Class ConfigureGlobalRepository

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.bamboo.ww2.BambooActionSupport
          extended by com.atlassian.bamboo.configuration.GlobalAdminAction
              extended by com.atlassian.bamboo.configuration.repository.ConfigureGlobalRepository
All Implemented Interfaces:
ErrorCollection, BambooSessionAware, NavigationAware, DomainObjectSecurityAware, GlobalAdminSecurityAware, GlobalReadSecurityAware, 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:
ConfigureSingleGlobalRepository, CreateGlobalRepository, DeleteGlobalRepository, EditGlobalRepository

public class ConfigureGlobalRepository
extends GlobalAdminAction
implements RepositoryConfigurationAware

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
BambooActionSupport.JSONStatus
 
Field Summary
protected  BuildStrategyConfigHelper buildStrategyConfigHelper
           
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  java.lang.String repositoryName
           
protected  boolean saved
           
protected  UIConfigBean uiConfigBean
           
protected  java.lang.String userDescription
           
protected  WebRepositoryConfigHelper webRepositoryConfigHelper
           
 
Fields inherited from class com.atlassian.bamboo.configuration.GlobalAdminAction
RESTRICTED_ADMIN_ACCESS_DENIED_ERROR
 
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
 
Constructor Summary
ConfigureGlobalRepository()
           
 
Method Summary
 BuildConfiguration getBuildConfiguration()
           
 BuildStrategyConfigHelper getBuildStrategyConfigHelper()
           
 DecoratedRepositoryDefinition getDecoratedRepositoryDefinition()
           
 com.opensymphony.webwork.dispatcher.json.JSONObject getJsonObject()
          This is default property read by webwork for webwork's result type "json".
 PlanConfigurationUIPluginHelper getPlanConfigurationUIPluginHelper()
           
 PlanVcsRevisionHistoryService getPlanVcsRevisionHistoryService()
           
 RepositoryData getRepositoryById(long id)
           
 RepositoryConfigHelper getRepositoryConfigHelper()
           
 BuildConfiguration getRepositoryConfiguration()
           
 java.util.List<? extends RepositoryData> getRepositoryDefinitions()
           
 long getRepositoryId()
           
 java.lang.String getRepositoryName()
           
 UIConfigBean getUiConfigBean()
           
 java.lang.String getUserDescription()
           
 WebRepositoryConfigHelper getWebRepositoryConfigHelper()
           
 boolean isSaved()
           
 void setBuildConfiguration(BuildConfiguration repositoryConfiguration)
           
 void setBuildStrategyConfigHelper(BuildStrategyConfigHelper buildStrategyConfigHelper)
           
 void setDecoratedRepositoryDefinition(DecoratedRepositoryDefinition decoratedRepositoryDefinition)
           
 void setPlanConfigurationUIPluginHelper(PlanConfigurationUIPluginHelper planConfigurationUIPluginHelper)
           
 void setPlanVcsRevisionHistoryService(PlanVcsRevisionHistoryService planVcsRevisionHistoryService)
           
 void setRepositoryConfigHelper(RepositoryConfigHelper repositoryConfigHelper)
           
 void setRepositoryConfiguration(BuildConfiguration repositoryConfiguration)
           
 void setRepositoryConfigurationService(RepositoryConfigurationService repositoryConfigurationService)
           
 void setRepositoryData(RepositoryData repositoryData)
           
 void setRepositoryDefinitionManager(RepositoryDefinitionManager repositoryDefinitionManager)
           
 void setRepositoryId(long repositoryId)
           
 void setRepositoryName(java.lang.String repositoryName)
           
 void setSaved(boolean saved)
           
 void setUiConfigBean(UIConfigBean uiConfigBean)
           
 void setUserDescription(java.lang.String userDescription)
           
 void setWebRepositoryConfigHelper(WebRepositoryConfigHelper webRepositoryConfigHelper)
           
 void validateName()
           
 
Methods inherited from class com.atlassian.bamboo.configuration.GlobalAdminAction
getSecuredDomainObject
 
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
addActionError, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, buildWebPanelContext, 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, setPlanExecutionManager, 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
 
Methods inherited from interface com.atlassian.bamboo.utils.error.ErrorCollection
getErrorMessages, getErrors, getFieldErrors
 

Field Detail

saved

protected boolean saved

repositoryId

protected long repositoryId

repositoryName

protected java.lang.String repositoryName

repositoryData

protected RepositoryData repositoryData

userDescription

protected java.lang.String userDescription

decoratedRepositoryDefinition

protected DecoratedRepositoryDefinition decoratedRepositoryDefinition

repositoryDefinitionManager

protected RepositoryDefinitionManager repositoryDefinitionManager

buildStrategyConfigHelper

protected BuildStrategyConfigHelper buildStrategyConfigHelper

repositoryConfigHelper

protected RepositoryConfigHelper repositoryConfigHelper

webRepositoryConfigHelper

protected WebRepositoryConfigHelper webRepositoryConfigHelper

planConfigurationUIPluginHelper

protected PlanConfigurationUIPluginHelper planConfigurationUIPluginHelper

planVcsRevisionHistoryService

protected PlanVcsRevisionHistoryService planVcsRevisionHistoryService

repositoryConfigurationService

protected RepositoryConfigurationService repositoryConfigurationService

uiConfigBean

protected UIConfigBean uiConfigBean
Constructor Detail

ConfigureGlobalRepository

public ConfigureGlobalRepository()
Method Detail

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

validateName

public void validateName()

getRepositoryById

@Nullable
public RepositoryData getRepositoryById(long id)
Specified by:
getRepositoryById in interface RepositoryConfigurationAware

setRepositoryData

public void setRepositoryData(RepositoryData repositoryData)
Specified by:
setRepositoryData in interface RepositoryConfigurationAware

setBuildConfiguration

public void setBuildConfiguration(BuildConfiguration repositoryConfiguration)
Specified by:
setBuildConfiguration in interface RepositoryConfigurationAware

getBuildConfiguration

public BuildConfiguration getBuildConfiguration()
Specified by:
getBuildConfiguration in interface RepositoryConfigurationAware

getRepositoryDefinitions

public java.util.List<? extends RepositoryData> getRepositoryDefinitions()

isSaved

public boolean isSaved()

setSaved

public void setSaved(boolean saved)

getRepositoryId

public long getRepositoryId()

setRepositoryId

public void setRepositoryId(long repositoryId)

getRepositoryName

public java.lang.String getRepositoryName()

setRepositoryName

public void setRepositoryName(java.lang.String repositoryName)

getUserDescription

public java.lang.String getUserDescription()

setUserDescription

public void setUserDescription(java.lang.String userDescription)

getDecoratedRepositoryDefinition

public DecoratedRepositoryDefinition getDecoratedRepositoryDefinition()

setDecoratedRepositoryDefinition

public void setDecoratedRepositoryDefinition(DecoratedRepositoryDefinition decoratedRepositoryDefinition)

getRepositoryConfiguration

public BuildConfiguration getRepositoryConfiguration()

setRepositoryConfiguration

public void setRepositoryConfiguration(BuildConfiguration repositoryConfiguration)

getBuildStrategyConfigHelper

public BuildStrategyConfigHelper getBuildStrategyConfigHelper()

setBuildStrategyConfigHelper

public void setBuildStrategyConfigHelper(BuildStrategyConfigHelper buildStrategyConfigHelper)

getRepositoryConfigHelper

public RepositoryConfigHelper getRepositoryConfigHelper()

setRepositoryConfigHelper

public void setRepositoryConfigHelper(RepositoryConfigHelper repositoryConfigHelper)

getWebRepositoryConfigHelper

public WebRepositoryConfigHelper getWebRepositoryConfigHelper()

setWebRepositoryConfigHelper

public void setWebRepositoryConfigHelper(WebRepositoryConfigHelper webRepositoryConfigHelper)

getPlanConfigurationUIPluginHelper

public PlanConfigurationUIPluginHelper getPlanConfigurationUIPluginHelper()

setPlanConfigurationUIPluginHelper

public void setPlanConfigurationUIPluginHelper(PlanConfigurationUIPluginHelper planConfigurationUIPluginHelper)

getPlanVcsRevisionHistoryService

public PlanVcsRevisionHistoryService getPlanVcsRevisionHistoryService()

setPlanVcsRevisionHistoryService

public void setPlanVcsRevisionHistoryService(PlanVcsRevisionHistoryService planVcsRevisionHistoryService)

setRepositoryDefinitionManager

public void setRepositoryDefinitionManager(RepositoryDefinitionManager repositoryDefinitionManager)

setRepositoryConfigurationService

public void setRepositoryConfigurationService(RepositoryConfigurationService repositoryConfigurationService)

getUiConfigBean

public UIConfigBean getUiConfigBean()

setUiConfigBean

public void setUiConfigBean(UIConfigBean uiConfigBean)


Copyright © 2012 Atlassian. All Rights Reserved.