Class ConfigureBranches

    • Constructor Detail

      • ConfigureBranches

        public ConfigureBranches()
    • Method Detail

      • validate

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

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

        public String update()
      • schedulePlanBranchInitialization

        protected void schedulePlanBranchInitialization​(Plan plan,
                                                        BuildDefinition buildDefinition,
                                                        PlanBranchWorkflow previousPlanBranchWorkflow)
        Schedules the plan branch initialization work that the Bamboo server needs to perform. This work is scheduled to happen in the case of automatic branch creation has been enabled, and will happen at another time to make sure there's not conflicts.
        Parameters:
        plan - plan to schedule plan branch initialization for
        buildDefinition - build definition of the plan, including plan settings definitions
        previousPlanBranchWorkflow - previous branch workflow setting
      • updateBranchMonitoringConfiguration

        protected void updateBranchMonitoringConfiguration​(BranchMonitoringConfiguration branchMonitoringConfiguration)
        Updates the branch monitoring configuration with the new values.
        Parameters:
        branchMonitoringConfiguration - to update with new values
      • isHideBranchesSplashScreen

        public boolean isHideBranchesSplashScreen()
      • getBranchIntegrationEditHtml

        public String getBranchIntegrationEditHtml()
      • getPlanBranchCreation

        public String getPlanBranchCreation()
      • setPlanBranchCreation

        public void setPlanBranchCreation​(String planBranchCreation)
      • getPlanBranchCreationWithEnabledForks

        public boolean getPlanBranchCreationWithEnabledForks()
      • setPlanBranchCreationWithEnabledForks

        public void setPlanBranchCreationWithEnabledForks​(boolean planBranchCreationWithEnabledForks)
      • isMergeCapable

        public boolean isMergeCapable()
      • getDefaultRepositoryType

        public String getDefaultRepositoryType()
      • getPlanBranchCreationRegularExpression

        public String getPlanBranchCreationRegularExpression()
      • setPlanBranchCreationRegularExpression

        public void setPlanBranchCreationRegularExpression​(String planBranchCreationRegularExpression)
      • getRemovedBranchCleanUpPeriodInDays

        public String getRemovedBranchCleanUpPeriodInDays()
      • setRemovedBranchCleanUpPeriodInDays

        public void setRemovedBranchCleanUpPeriodInDays​(String removedBranchCleanUpPeriodInDays)
      • setInactiveBranchCleanUpPeriodInDays

        public void setInactiveBranchCleanUpPeriodInDays​(String inactiveBranchCleanUpPeriodInDays)
      • getInactiveBranchCleanUpPeriodInDays

        public String getInactiveBranchCleanUpPeriodInDays()
      • getDefaultNotificationStrategy

        public String getDefaultNotificationStrategy()
      • setDefaultNotificationStrategy

        public void setDefaultNotificationStrategy​(String defaultNotificationStrategy)
      • isBranchDetectionCapable

        public boolean isBranchDetectionCapable()
      • isPullRequestAware

        public boolean isPullRequestAware()
      • isForkedPullRequestAware

        public boolean isForkedPullRequestAware()
      • isRemoteJiraBranchLinkingEnabled

        public boolean isRemoteJiraBranchLinkingEnabled()
      • setRemoteJiraBranchLinkingEnabled

        public void setRemoteJiraBranchLinkingEnabled​(boolean remoteJiraBranchLinkingEnabled)
      • isSaved

        public boolean isSaved()
      • setSaved

        public void setSaved​(boolean saved)
      • getDeletePlanBranchWhenBranchRemovedFromVcs

        public boolean getDeletePlanBranchWhenBranchRemovedFromVcs()
      • setDeletePlanBranchWhenBranchRemovedFromVcs

        public void setDeletePlanBranchWhenBranchRemovedFromVcs​(boolean deletePlanBranchWhenBranchRemovedFromVcs)
      • getDeletePlanBranchWhenBranchIsInactiveInVcs

        public boolean getDeletePlanBranchWhenBranchIsInactiveInVcs()
      • setDeletePlanBranchWhenBranchIsInactiveInVcs

        public void setDeletePlanBranchWhenBranchIsInactiveInVcs​(boolean deletePlanBranchWhenBranchIsInactiveInVcs)
      • getBranchTriggering

        public String getBranchTriggering()
      • setBranchTriggering

        public void setBranchTriggering​(String branchTriggering)