Class EditLinkedRepository

    • Constructor Detail

      • EditLinkedRepository

        public EditLinkedRepository()
    • Method Detail

      • 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)
      • 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()
      • isBambooSpecsPermittedToAllRepositories

        public boolean isBambooSpecsPermittedToAllRepositories()
      • isBambooSpecsPermittedToCreateProjects

        public boolean isBambooSpecsPermittedToCreateProjects()
        Returns true if Bamboo Specs stored in this repository is permitted to create new projects.
        Returns:
        boolean true if can create new projects
      • isBambooSpecsPermittedToAllProjectsEditable

        public boolean isBambooSpecsPermittedToAllProjectsEditable()
      • isBambooSpecsPermittedToAllRepositoriesEditable

        public boolean isBambooSpecsPermittedToAllRepositoriesEditable()
      • isBambooSpecsPermittedToCreateProjectsEditable

        public boolean isBambooSpecsPermittedToCreateProjectsEditable()
        Returns:
        true if user is able to modify Project creation allowed setting
      • 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()
      • getBambooSpecsPermittedDeploymentProjects

        public List<DeploymentProject> getBambooSpecsPermittedDeploymentProjects()
      • getDefaultBranch

        @Nullable
        public @Nullable String getDefaultBranch()
      • areDivergentBranchesSupported

        public boolean areDivergentBranchesSupported()
      • isBambooSpecsCapable

        public boolean isBambooSpecsCapable()
      • isGlobalLinkedRepository

        public boolean isGlobalLinkedRepository()