Class ConfigureBranches

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

    • ConfigureBranches

      public ConfigureBranches()
  • Method Details

    • 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
    • getBranchesForAutoIntegration

      public Map<PlanIdentifier,String> getBranchesForAutoIntegration()
    • isHideBranchesSplashScreen

      public boolean isHideBranchesSplashScreen()
    • getBranchIntegrationEditHtml

      public String getBranchIntegrationEditHtml()
    • getBuildConfiguration

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

      public void setBuildConfiguration(BuildConfiguration buildConfiguration)
      Specified by:
      setBuildConfiguration in interface BareBuildConfigurationAware
    • 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()
    • getRepositoryEditHtml

      public VcsUIConfigBean.VcsHtmlFragments getRepositoryEditHtml()
    • 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()
    • getBranchCreationTypes

      public List<BranchCreationType> getBranchCreationTypes()
    • getBranchTriggeringOptions

      public List<BranchTriggeringOption> getBranchTriggeringOptions()
    • getDefaultNotificationStrategy

      public String getDefaultNotificationStrategy()
    • setDefaultNotificationStrategy

      public void setDefaultNotificationStrategy(String defaultNotificationStrategy)
    • isBranchDetectionCapable

      public boolean isBranchDetectionCapable()
    • isPullRequestAware

      public boolean isPullRequestAware()
    • isForkedPullRequestAware

      public boolean isForkedPullRequestAware()
    • getNotificationStrategies

      public List<BranchNotificationStrategy> getNotificationStrategies()
    • 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)
    • getRepositoryTriggerSelectors

      public List<RepositoryTriggerSelector> getRepositoryTriggerSelectors()