Class AbstractDeploymentProjectDetailsAction

java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.deployments.projects.actions.AbstractDeploymentProjectDetailsAction
All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, NavigationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, 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
Direct Known Subclasses:
CloneDeploymentProject, ConfigureDeploymentProjectDetails, CreateDeploymentProjectDetails

public class AbstractDeploymentProjectDetailsAction extends BambooActionSupport
See Also:
  • Field Details

  • Constructor Details

    • AbstractDeploymentProjectDetailsAction

      public AbstractDeploymentProjectDetailsAction()
  • Method Details

    • isEditMode

      public boolean isEditMode()
    • validate

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

      public List<ImmutableChainBranch> getMasterPlanBranches()
    • isDeploymentCreationAllowed

      public boolean isDeploymentCreationAllowed()
    • getBranchName

      public String getBranchName(String planKeyString)
      This method provides initial data for branch picker control
      Parameters:
      planKeyString - identifies plan
      Returns:
      displayable branch name of a plan
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getId

      public long getId()
    • setId

      public void setId(long id)
    • setCustomVariableContext

      public void setCustomVariableContext(CustomVariableContext customVariableContext)
    • setPlanKey

      public void setPlanKey(String planKeyString)
    • getMasterPlanKey

      public String getMasterPlanKey()
    • setMasterPlanKey

      public void setMasterPlanKey(String planKey)
    • getBranchKey

      public String getBranchKey()
    • setBranchKey

      public void setBranchKey(String branchKey)
    • getArtifactValidationErrors

      public Map<String,ArtifactValidationError> getArtifactValidationErrors()
    • setArtifactValidationErrors

      public void setArtifactValidationErrors(Map<String,ArtifactValidationError> artifactValidationErrors)
    • getTriggerValidationErrors

      public List<EnvironmentTriggerValidationError> getTriggerValidationErrors()
    • getDeploymentProject

      @Nullable public @Nullable DeploymentProject getDeploymentProject()
    • isUsingDefaultBranch

      public boolean isUsingDefaultBranch()
    • setUsingDefaultBranch

      public void setUsingDefaultBranch(boolean usingDefaultBranch)
    • getPlanDefaultBranch

      public String getPlanDefaultBranch()