Interface VcsChangeDetectionOptionsConfigurator

All Known Implementing Classes:
BitbucketCloudChangeDetectionOptionsConfigurator, BitbucketServerChangeDetectionOptionsConfigurator, DefaultChangeDetectionOptionsConfigurator, GitChangeDetectionOptionsConfigurator, SvnChangeDetectionOptionsConfigurator

public interface VcsChangeDetectionOptionsConfigurator
Class handling change detection options for a repository.
Since:
5.14
  • Field Details

  • Method Details

    • populateContextForCreate

      void populateContextForCreate(@NotNull @NotNull Map<String,Object> context)
    • populateContextForEdit

      void populateContextForEdit(@NotNull @NotNull Map<String,Object> context, @NotNull @NotNull VcsChangeDetectionOptions triggerDefinition)
    • populateContextForView

      void populateContextForView(@NotNull @NotNull Map<String,Object> context, @NotNull @NotNull VcsChangeDetectionOptions triggerDefinition)
    • validate

      void validate(@NotNull @NotNull ActionParametersMap actionParametersMap, @NotNull @NotNull ErrorCollection errorCollection)
    • generateConfigMap

      @NotNull @NotNull Map<String,String> generateConfigMap(@NotNull @NotNull ActionParametersMap actionParametersMap, @Nullable @Nullable VcsChangeDetectionOptions previousTriggerDefinition)
    • isQuietPeriodSupported

      boolean isQuietPeriodSupported()
      Informs if associated repository type works with Bamboo's standard quiet period handling. Depending on the result, proper UI will be rendered (or not) and appropriate options will be added to the configMap.
      Returns:
      true iff Bamboo should include standard quiet period options in the configuration.
    • isCommitIsolationSupported

      boolean isCommitIsolationSupported()
      Informs if associated repository type supports commits being broken up into individual builds
      Returns:
      true if Bamboo should break the single build changes object into a list of changes