Class ImportMavenPlanAction

java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.ww2.actions.admin.ImportMavenPlanAction
All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, BareBuildConfigurationAware, BuildConfigurationAware, NavigationAware, DomainObjectSecurityAware, GlobalCreatePlanSecurityAware, 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.Preparable, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable
Direct Known Subclasses:
ImportMavenPlanCheckoutPomAction, ImportMavenPlanCreatePlanAction

public abstract class ImportMavenPlanAction extends BambooActionSupport implements GlobalCreatePlanSecurityAware, BuildConfigurationAware, com.opensymphony.xwork2.Preparable, PlanLimitAware
See Also:
  • Field Details

  • Constructor Details

    • ImportMavenPlanAction

      public ImportMavenPlanAction()
  • Method Details

    • prepare

      public void prepare() throws Exception
      Specified by:
      prepare in interface com.opensymphony.xwork2.Preparable
      Throws:
      Exception
    • initVcsTypeSelectors

      protected abstract void initVcsTypeSelectors(@NotNull @NotNull TaskRenderMode renderMode)
    • validate

      public void validate()
      Specified by:
      validate in interface com.opensymphony.xwork2.Validateable
      Overrides:
      validate in class com.opensymphony.xwork2.ActionSupport
    • 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.
    • 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
    • getImmutablePlan

      public Plan 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
    • getBuildConfiguration

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

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

      public List<Repository> getRepositories()
    • getVcsTypeSelectors

      public List<VcsUIConfigBean.VcsTypeSelector> getVcsTypeSelectors()
    • getAvailableMavenBuilders

      @NotNull public @NotNull Map<String,String> getAvailableMavenBuilders()
      Return available Maven 2/3 builders
      Returns:
      map of capability -> capability type
    • getSelectedRepositoryKey

      protected String getSelectedRepositoryKey()
    • getSelectedWebRepositoryViewerKey

      protected String getSelectedWebRepositoryViewerKey()
    • getBuildKey

      protected String getBuildKey()
    • getBuildName

      protected String getBuildName()
    • getExistingProjectKey

      public String getExistingProjectKey()
    • setExistingProjectKey

      public void setExistingProjectKey(String existingProjectKey)
    • getProjectKey

      public String getProjectKey()
    • setProjectKey

      public void setProjectKey(String projectKey)
    • getProjectName

      public String getProjectName()
    • setProjectName

      public void setProjectName(String projectName)
    • getProjectDescription

      public String getProjectDescription()
    • setProjectDescription

      public void setProjectDescription(String projectDescription)
    • getUiConfigBean

      public UIConfigSupport getUiConfigBean()
    • getVcsUIConfigBean

      public VcsUIConfigBean getVcsUIConfigBean()