Class CreateChainRepository

All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, BareBuildConfigurationAware, BuildConfigurationAware, NavigationAware, AuthenticatedUserSecurityAware, DomainObjectSecurityAware, GlobalReadSecurityAware, PlanAware, PlanLimitAware, ProjectAware, 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

    • CreateChainRepository

      public CreateChainRepository()
  • Method Details

    • input

      public String input() throws Exception
      Overrides:
      input in class com.opensymphony.xwork2.ActionSupport
      Throws:
      Exception
    • validate

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

      public String addRepository()
    • pickTriggerKey

      public static String pickTriggerKey(String defaultTriggerKey, boolean isWebhookEnabled)
    • getRepositoryPluginKeys

      @NotNull public @NotNull String getRepositoryPluginKeys()
    • 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.
    • getJobKey

      public String getJobKey()
    • setJobKey

      public void setJobKey(String jobKey)
    • getExistingProjectKey

      public String getExistingProjectKey()
    • setExistingProjectKey

      public void setExistingProjectKey(String existingProjectKey)
    • getRepositoryName

      public String getRepositoryName()
    • setRepositoryName

      public void setRepositoryName(String repositoryName)
    • getRepositoryTypeOption

      public String getRepositoryTypeOption()
    • setRepositoryTypeOption

      public void setRepositoryTypeOption(String repositoryTypeOption)
    • getVcsUIConfigBean

      public VcsUIConfigBean getVcsUIConfigBean()
    • getVcsTypeSelectors

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

      public List<VcsUIConfigBean.VcsTypeSelector> getPrimaryVcsTypeSelectors()
    • getNonPrimaryVcsTypeSelectors

      public List<VcsUIConfigBean.VcsTypeSelector> getNonPrimaryVcsTypeSelectors()
    • getUiConfigBean

      public UIConfigSupport getUiConfigBean()
      Overrides:
      getUiConfigBean in class BuildConfigurationSupport
    • isNewProject

      public boolean isNewProject()
    • setNewProject

      public void setNewProject(boolean newProject)