com.atlassian.bamboo.ww2.actions.chains
Class CreateChain

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.bamboo.ww2.BambooActionSupport
          extended by com.atlassian.bamboo.configuration.GlobalCreatePlanAction
              extended by com.atlassian.bamboo.ww2.actions.chains.CreateChain
All Implemented Interfaces:
ErrorCollection, BambooSessionAware, DomainObjectSecurityAware, GlobalCreatePlanSecurityAware, GlobalReadSecurityAware, 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

public class CreateChain
extends GlobalCreatePlanAction

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
BambooActionSupport.JSONStatus
 
Field Summary
static java.lang.String BUILD_KEY_CHARACTERS
           
static java.lang.String ILLEGAL_NAME_CHARACTER
           
static java.lang.String PROJECT_KEY_CHARACTERS
           
 
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
administrationConfigurationManager, bambooPermissionManager, buildManager, CONFIRM, cookieCutter, dashboardCachingManager, planManager, projectManager
 
Fields inherited from class com.opensymphony.xwork.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
CreateChain()
           
 
Method Summary
 java.lang.String create()
           
 org.acegisecurity.acls.MutableAclService getAclService()
           
 BuildConfiguration getBuildConfiguration()
           
 java.util.List<BuildStrategy> getBuildStrategies()
           
 java.lang.String getChainDescription()
           
 java.lang.String getChainKey()
           
 java.lang.String getChainName()
           
 java.lang.String getExistingProjectKey()
           
 java.util.Collection<Project> getExistingProjects()
           
 java.lang.String getFullKey()
           
 java.lang.String getProjectKey()
           
 java.lang.String getProjectName()
           
 java.util.List<Repository> getRepositories()
           
 java.util.List<WebRepositoryViewer> getWebRepositoryViewers()
           
 boolean isVcsDetection()
           
 void setAclService(org.acegisecurity.acls.MutableAclService aclService)
           
 void setBuildConfiguration(BuildConfiguration buildConfiguration)
           
 void setBuildDefinitionManager(BuildDefinitionManager buildDefinitionManager)
           
 void setBuildStrategyManager(BuildStrategyManager buildStrategyManager)
           
 void setChainDescription(java.lang.String chainDescription)
           
 void setChainKey(java.lang.String chainKey)
           
 void setChainManager(ChainManager chainManager)
           
 void setChainName(java.lang.String chainName)
           
 void setExistingProjectKey(java.lang.String existingProjectKey)
           
 void setProjectDescription(java.lang.String projectDescription)
           
 void setProjectKey(java.lang.String projectKey)
           
 void setProjectName(java.lang.String projectName)
           
 void setRepositoryManager(RepositoryManager repositoryManager)
           
 void setVcsDetection(boolean vcsDetection)
           
 void setWebRepositoryViewerManager(WebRepositoryViewerManager webRepositoryViewerManager)
           
 void validate()
           
 
Methods inherited from class com.atlassian.bamboo.configuration.GlobalCreatePlanAction
getSecuredDomainObject
 
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
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, getBuildManager, getChainManager, getConcurrentBuildsNumber, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getFlushedErrorMessages, getFormattedActionErrors, getFormattedErrorMessages, getInstanceName, getJsonObject, getPlan, getReturnUrl, getSessionUser, getText, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebSectionsForLocation, hasAdminPermission, hasAnyErrors, hasBuilds, hasGlobalAdminPermission, hasGlobalPermission, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, isCheckboxSetInAction, isEnableJavascript, isEnableSignup, isRestrictedAdminEnabled, isSelectFieldAndNull, renderFreemarkerTemplate, setAdministrationConfigurationManager, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildManager, setCheckBoxFields, setCookieCutter, setDashboardCachingManager, setEnableJavascript, setErrorMessages, setPlanManager, setProjectManager, setReturnUrl, setWebInterfaceManager
 
Methods inherited from class com.opensymphony.xwork.ActionSupport
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, pause, setActionErrors, setActionMessages, setFieldErrors
 
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
 
Methods inherited from interface com.atlassian.core.i18n.I18nTextProvider
getText
 

Field Detail

ILLEGAL_NAME_CHARACTER

public static final java.lang.String ILLEGAL_NAME_CHARACTER
See Also:
Constant Field Values

PROJECT_KEY_CHARACTERS

public static final java.lang.String PROJECT_KEY_CHARACTERS
See Also:
Constant Field Values

BUILD_KEY_CHARACTERS

public static final java.lang.String BUILD_KEY_CHARACTERS
See Also:
Constant Field Values
Constructor Detail

CreateChain

public CreateChain()
Method Detail

create

public java.lang.String create()

validate

public void validate()
Specified by:
validate in interface com.opensymphony.xwork.Validateable
Overrides:
validate in class com.opensymphony.xwork.ActionSupport

getExistingProjects

public java.util.Collection<Project> getExistingProjects()

getBuildStrategies

public java.util.List<BuildStrategy> getBuildStrategies()

getRepositories

public java.util.List<Repository> getRepositories()

getWebRepositoryViewers

public java.util.List<WebRepositoryViewer> getWebRepositoryViewers()

getFullKey

public java.lang.String getFullKey()

setChainManager

public void setChainManager(ChainManager chainManager)
Overrides:
setChainManager in class BambooActionSupport

getProjectKey

public java.lang.String getProjectKey()

setProjectKey

public void setProjectKey(java.lang.String projectKey)

getProjectName

public java.lang.String getProjectName()

setProjectName

public void setProjectName(java.lang.String projectName)

setProjectDescription

public void setProjectDescription(java.lang.String projectDescription)

getChainKey

public java.lang.String getChainKey()

setChainKey

public void setChainKey(java.lang.String chainKey)

getChainName

public java.lang.String getChainName()

setChainName

public void setChainName(java.lang.String chainName)

getChainDescription

public java.lang.String getChainDescription()

setChainDescription

public void setChainDescription(java.lang.String chainDescription)

getExistingProjectKey

public java.lang.String getExistingProjectKey()

setExistingProjectKey

public void setExistingProjectKey(java.lang.String existingProjectKey)

isVcsDetection

public boolean isVcsDetection()

setVcsDetection

public void setVcsDetection(boolean vcsDetection)

getBuildConfiguration

public BuildConfiguration getBuildConfiguration()

setBuildConfiguration

public void setBuildConfiguration(BuildConfiguration buildConfiguration)

setBuildStrategyManager

public void setBuildStrategyManager(BuildStrategyManager buildStrategyManager)

setRepositoryManager

public void setRepositoryManager(RepositoryManager repositoryManager)

setWebRepositoryViewerManager

public void setWebRepositoryViewerManager(WebRepositoryViewerManager webRepositoryViewerManager)

setBuildDefinitionManager

public void setBuildDefinitionManager(BuildDefinitionManager buildDefinitionManager)
Overrides:
setBuildDefinitionManager in class BambooActionSupport

getAclService

public org.acegisecurity.acls.MutableAclService getAclService()

setAclService

public void setAclService(org.acegisecurity.acls.MutableAclService aclService)


Copyright © 2010 Atlassian. All Rights Reserved.