java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.ww2.actions.build.admin.create.CreateChain
All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, BareBuildConfigurationAware, BuildConfigurationAware, NavigationAware, AuthenticatedUserSecurityAware, DomainObjectSecurityAware, GlobalReadSecurityAware, PlanAware, PlanLimitAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.atlassian.struts.TextProvider, com.atlassian.struts.ValidationAware, com.opensymphony.xwork.ValidationAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable

See Also:
  • Field Details

  • Constructor Details

    • CreateChain

      public CreateChain()
  • Method Details

    • doDefault

      public String doDefault() throws Exception
      Description copied from class: BambooActionSupport
      Default action just sends to the input
      Overrides:
      doDefault in class BambooActionSupport
      Throws:
      Exception
    • validate

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

      public String cloneBuild() throws Exception
      Throws:
      Exception
    • createBuild

      public String createBuild()
    • getBuildConfiguration

      public BuildConfiguration getBuildConfiguration()
      Specified by:
      getBuildConfiguration in interface BareBuildConfigurationAware
    • setBuildConfiguration

      public void setBuildConfiguration(BuildConfiguration buildConfiguration)
      Specified by:
      setBuildConfiguration in interface BareBuildConfigurationAware
    • getImmutablePlan

      public ImmutablePlan getImmutablePlan()
      Specified by:
      getImmutablePlan in interface PlanAware
    • getPlan

      @Deprecated public Plan getPlan()
      Deprecated.
      since 4.4
      Specified by:
      getPlan in interface PlanAware
    • getMutablePlan

      public Plan getMutablePlan()
      Specified by:
      getMutablePlan in interface PlanAware
    • setPlan

      public void setPlan(ImmutablePlan plan)
      Specified by:
      setPlan in interface PlanAware
    • getBuildKey

      public String getBuildKey()
    • setBuildKey

      public void setBuildKey(String buildKey)
    • getJobKey

      public String getJobKey()
    • setPlanLimitReached

      public void setPlanLimitReached()
      Description copied from interface: PlanLimitAware
      Called if the interceptor detects that the plan limit has been exhausted. Its up to the actions as to how they react
      Specified by:
      setPlanLimitReached in interface PlanLimitAware
    • isPlanLimitReached

      public boolean isPlanLimitReached()
      Description copied from interface: PlanLimitAware
      Allows UI to check whether the plan limit has been reached
      Specified by:
      isPlanLimitReached in interface PlanLimitAware
      Returns:
      true if the plan limit has been reached or not.
    • isClonePlan

      public boolean isClonePlan()
    • setClonePlan

      public void setClonePlan(boolean clonePlan)
    • getPlanKeyToClone

      public String getPlanKeyToClone()
    • setPlanKeyToClone

      public void setPlanKeyToClone(String planKeyToClone)
    • getExistingProjectKey

      public String getExistingProjectKey()
    • setExistingProjectKey

      public void setExistingProjectKey(String existingProjectKey)
    • getPlansToClone

      @NotNull public @NotNull Collection<ImmutableChain> getPlansToClone()
      Returns:
      all builds that are available to the current user to be cloned
    • getUiConfigBean

      public UIConfigSupport getUiConfigBean()
    • isNewProject

      public boolean isNewProject()
    • setNewProject

      public void setNewProject(boolean newProject)
    • getProjectName

      public String getProjectName()
    • setProjectName

      public void setProjectName(String projectName)
    • getProjectKey

      public String getProjectKey()
    • setProjectKey

      public void setProjectKey(String projectKey)
    • getChainName

      public String getChainName()
    • setChainName

      public void setChainName(String chainName)
    • getChainKey

      public String getChainKey()
    • setChainKey

      public void setChainKey(String chainKey)
    • getAvailableJdks

      public Collection<String> getAvailableJdks()
    • isPublicPlanAccess

      public boolean isPublicPlanAccess()
    • setPublicPlanAccess

      public void setPublicPlanAccess(boolean publicPlanAccess)
    • isChainEnabled

      public boolean isChainEnabled()
    • setChainEnabled

      public void setChainEnabled(boolean chainEnabled)