Class AbstractBranchTriggerConfigAction

java.lang.Object
com.opensymphony.xwork2.ActionSupport
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
Direct Known Subclasses:
ConfigureBranches, EditChainBranchDetails

public abstract class AbstractBranchTriggerConfigAction extends ChainActionSupport implements BuildConfigurationAware, PlanViewConfigurationSecurityAware
See Also:
  • Field Details

  • Constructor Details

    • AbstractBranchTriggerConfigAction

      public AbstractBranchTriggerConfigAction()
  • Method Details

    • setTriggerUIConfigBean

      public void setTriggerUIConfigBean(TriggerUIConfigBean triggerUIConfigBean)
    • setTriggerTypeManager

      public void setTriggerTypeManager(TriggerTypeManager triggerTypeManager)
    • setRepositoryTrigger

      public void setRepositoryTrigger(Long[] repositoryTrigger)
    • validateTriggerConfiguration

      protected void validateTriggerConfiguration()
    • renderTriggerEditHtmlsWithErrors

      protected void renderTriggerEditHtmlsWithErrors()
    • triggerConditionsConfigurationFromInput

      @NotNull protected @NotNull Map<String,String> triggerConditionsConfigurationFromInput()
    • triggeringRepositoriesFromInput

      @Nullable protected @Nullable Set<Long> triggeringRepositoriesFromInput(TriggerModuleDescriptor triggerDescriptor)
    • prepareTriggerEditHtmls

      protected void prepareTriggerEditHtmls(TriggerDefinition triggerDefinition)
    • getKeysOfTriggersExpectingRepository

      public String getKeysOfTriggersExpectingRepository()
    • getRepositoryTriggerSelectors

      protected List<RepositoryTriggerSelector> getRepositoryTriggerSelectors(@Nullable @Nullable TriggerDefinition existingTrigger)
    • initialiseRepositorySelectorsFromExistingTrigger

      protected boolean initialiseRepositorySelectorsFromExistingTrigger(TriggerDefinition existingTrigger)
    • getTriggerSelectors

      public List<TriggerUIConfigBean.TriggerSelector> getTriggerSelectors()