Class EditProjectRepository

All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, NavigationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, RepositoryAdminSecurityAware, 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

public class EditProjectRepository extends AbstractExistingProjectRepositoryAction implements RepositoryAdminSecurityAware
See Also:
  • Constructor Details

    • EditProjectRepository

      public EditProjectRepository()
  • Method Details

    • prepare

      public void prepare() throws Exception
      Specified by:
      prepare in interface com.opensymphony.xwork2.Preparable
      Overrides:
      prepare in class AbstractExistingProjectRepositoryAction
      Throws:
      Exception
    • input

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

      public String execute()
      Specified by:
      execute in interface com.opensymphony.xwork2.Action
      Overrides:
      execute in class com.opensymphony.xwork2.ActionSupport
    • validate

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

      protected void prepareVcsAndViewersHtmls(TaskRenderMode renderMode)
    • getSuccessMessage

      public String getSuccessMessage()
    • setPermissionsSaved

      public void setPermissionsSaved(boolean saved)
    • setCreated

      public void setCreated(boolean created)
    • setSaved

      public void setSaved(boolean saved)
    • getViewerSelectors

      public List<VcsViewerUIConfigBean.VcsViewerTypeSelector> getViewerSelectors()
    • getCurrentVcsTypeSelector

      public VcsUIConfigBean.VcsTypeSelector getCurrentVcsTypeSelector()
    • getSubmitAction

      public String getSubmitAction()
    • getEditablePermissions

      @NotNull public @NotNull Map<String,String> getEditablePermissions()
    • getPermissionDependencies

      @NotNull public @NotNull List<String> getPermissionDependencies(@NotNull @NotNull String permissionName)
    • isBambooSpecsDetectionEnabled

      public boolean isBambooSpecsDetectionEnabled()
    • isBambooSpecsPermittedToAllProjects

      public boolean isBambooSpecsPermittedToAllProjects()
    • isBambooSpecsPermittedToAllProjectsEditable

      public boolean isBambooSpecsPermittedToAllProjectsEditable()
    • isBambooSpecsPermittedToAllRepositories

      public boolean isBambooSpecsPermittedToAllRepositories()
    • isBambooSpecsPermittedToAllRepositoriesEditable

      public boolean isBambooSpecsPermittedToAllRepositoriesEditable()
    • isBambooSpecsPermittedToCreateProjects

      public boolean isBambooSpecsPermittedToCreateProjects()
    • isBambooSpecsPermittedToCreateProjectsEditable

      public boolean isBambooSpecsPermittedToCreateProjectsEditable()
    • isMailServerConfigured

      public boolean isMailServerConfigured()
      Returns:
      true if mail server is configured for this Bamboo instance
    • isMailServerEditable

      public boolean isMailServerEditable()
      Returns:
      true if user is able to configure mail server for this instance
    • getBambooSpecsVersion

      @NotNull public @NotNull String getBambooSpecsVersion()
    • isBambooSpecsDetectionRequiresWebhooks

      public boolean isBambooSpecsDetectionRequiresWebhooks()
    • getWebhookNeededByBambooSpecsDetection

      @NotNull public @NotNull String getWebhookNeededByBambooSpecsDetection()
    • isShowOnboardingDialog

      public boolean isShowOnboardingDialog()
    • isShowSecuritySettingsHint

      public boolean isShowSecuritySettingsHint()
    • getBambooSpecsPermittedProjects

      public List<ProjectIdentifier> getBambooSpecsPermittedProjects()
    • getBambooSpecsPermittedDeploymentProjects

      public List<DeploymentProject> getBambooSpecsPermittedDeploymentProjects()
    • getBambooSpecsPermittedRepositories

      public List<RepositoryDataEntity> getBambooSpecsPermittedRepositories()
    • getDefaultBranch

      @Nullable public @Nullable String getDefaultBranch()
    • areDivergentBranchesSupported

      public boolean areDivergentBranchesSupported()
    • isBambooSpecsCapable

      public boolean isBambooSpecsCapable()
    • isGlobalLinkedRepository

      public boolean isGlobalLinkedRepository()