java.lang.Object
   ↳ com.opensymphony.xwork.ActionSupport
     ↳ com.atlassian.bamboo.ww2.BambooActionSupport
       ↳ com.atlassian.bamboo.ww2.actions.build.admin.create.CreateChain

Summary

Constants
String JOB_KEY
String JOB_NAME
String STAGE_NAME
[Expand]
Inherited Constants
From class com.atlassian.bamboo.ww2.BambooActionSupport
From interface com.opensymphony.xwork.Action
[Expand]
Inherited Fields
From class com.atlassian.bamboo.ww2.BambooActionSupport
From class com.opensymphony.xwork.ActionSupport
Public Constructors
CreateChain()
Public Methods
String doCloneBuild()
String doCreateBuild()
String doDefault()
Default action just sends to the input@return
Collection<String> getAvailableJdks()
BuildConfiguration getBuildConfiguration()
String getBuildKey()
String getExistingProjectKey()
String getJobKey()
Plan getPlan()
String getPlanKeyToClone()
@NotNull Collection<ImmutableChain> getPlansToClone()
@NotNull String getRepositoryPluginKeys()
UIConfigBean getUiConfigBean()
boolean isClonePlan()
boolean isPlanLimitReached()
Allows UI to check whether the plan limit has been reached
void setBuildConfiguration(BuildConfiguration buildConfiguration)
void setBuildKey(String buildKey)
void setBuildStrategyConfigHelper(BuildStrategyConfigHelper buildStrategyConfigHelper)
void setChainCreationService(ChainCreationService chainCreationService)
void setClonePlan(boolean clonePlan)
void setExistingProjectKey(String existingProjectKey)
void setJdkManager(JdkManager jdkManager)
void setJobCreationService(JobCreationService jobCreationService)
void setPlan(Plan plan)
void setPlanKeyToClone(String planKeyToClone)
void setPlanLimitReached()
Called if the interceptor detects that the plan limit has been exhausted.
void setRepositoryConfigHelper(RepositoryConfigHelper repositoryConfigHelper)
void setUiConfigBean(UIConfigBean uiConfigBean)
void setWebRepositoryConfigHelper(WebRepositoryConfigHelper webRepositoryConfigHelper)
void validate()
[Expand]
Inherited Methods
From class com.atlassian.bamboo.ww2.BambooActionSupport
From class com.opensymphony.xwork.ActionSupport
From class java.lang.Object
From interface com.atlassian.bamboo.utils.error.ErrorCollection
From interface com.atlassian.bamboo.ww2.aware.BambooSessionAware
From interface com.atlassian.bamboo.ww2.aware.BuildConfigurationAware
From interface com.atlassian.bamboo.ww2.aware.NavigationAware
From interface com.atlassian.bamboo.ww2.aware.PlanAware
From interface com.atlassian.bamboo.ww2.aware.PlanLimitAware
From interface com.atlassian.bamboo.ww2.aware.ReturnUrlAware
From interface com.atlassian.bamboo.ww2.aware.permissions.DomainObjectSecurityAware
From interface com.atlassian.core.i18n.I18nTextProvider
From interface com.opensymphony.xwork.Action
From interface com.opensymphony.xwork.LocaleProvider
From interface com.opensymphony.xwork.TextProvider
From interface com.opensymphony.xwork.Validateable
From interface com.opensymphony.xwork.ValidationAware
From interface com.uwyn.rife.continuations.ContinuableObject

Constants

public static final String JOB_KEY

Constant Value: "JOB1"

public static final String JOB_NAME

Constant Value: "Default Job"

public static final String STAGE_NAME

Constant Value: "Default Stage"

Public Constructors

public CreateChain ()

Public Methods

public String doCloneBuild ()

Throws
Exception

public String doCreateBuild ()

Throws
Exception

public String doDefault ()

Default action just sends to the input@return

Throws
Exception

public Collection<String> getAvailableJdks ()

public BuildConfiguration getBuildConfiguration ()

public String getBuildKey ()

public String getExistingProjectKey ()

public String getJobKey ()

public Plan getPlan ()

public String getPlanKeyToClone ()

@NotNull public Collection<ImmutableChain> getPlansToClone ()

Returns
  • all builds that are available to be cloned on the system(Does this follow permissions???)

@NotNull public String getRepositoryPluginKeys ()

public UIConfigBean getUiConfigBean ()

public boolean isClonePlan ()

public boolean isPlanLimitReached ()

Allows UI to check whether the plan limit has been reached

Returns
  • true if the plan limit has been reached or not.

public void setBuildConfiguration (BuildConfiguration buildConfiguration)

public void setBuildKey (String buildKey)

public void setBuildStrategyConfigHelper (BuildStrategyConfigHelper buildStrategyConfigHelper)

public void setChainCreationService (ChainCreationService chainCreationService)

public void setClonePlan (boolean clonePlan)

public void setExistingProjectKey (String existingProjectKey)

public void setJdkManager (JdkManager jdkManager)

public void setJobCreationService (JobCreationService jobCreationService)

public void setPlan (Plan plan)

public void setPlanKeyToClone (String planKeyToClone)

public void setPlanLimitReached ()

Called if the interceptor detects that the plan limit has been exhausted. Its up to the actions as to how they react

public void setRepositoryConfigHelper (RepositoryConfigHelper repositoryConfigHelper)

public void setUiConfigBean (UIConfigBean uiConfigBean)

public void setWebRepositoryConfigHelper (WebRepositoryConfigHelper webRepositoryConfigHelper)

public void validate ()