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 Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
List of options handled by Bamboo itself (not plugin specific) These are removed from map given to plugin validator, so plugin focus only on it's own specific options.static final String
static final String
static final String
-
Method Summary
Modifier and TypeMethodDescriptiongenerateConfigMap
(@NotNull ActionParametersMap actionParametersMap, @Nullable VcsChangeDetectionOptions previousTriggerDefinition) boolean
Informs if associated repository type supports commits being broken up into individual buildsboolean
Informs if associated repository type works with Bamboo's standard quiet period handling.void
populateContextForCreate
(@NotNull Map<String, Object> context) void
populateContextForEdit
(@NotNull Map<String, Object> context, @NotNull VcsChangeDetectionOptions triggerDefinition) void
populateContextForView
(@NotNull Map<String, Object> context, @NotNull VcsChangeDetectionOptions triggerDefinition) void
validate
(@NotNull ActionParametersMap actionParametersMap, @NotNull ErrorCollection errorCollection)
-
Field Details
-
QUIET_PERIOD_ENABLED_CFG_KEY
- See Also:
-
QUIET_PERIOD_CFG_KEY
- See Also:
-
QUIET_PERIOD_MAX_RETRIES_CFG_KEY
- See Also:
-
CHANGESET_FILTER_REGEX_CFG_KEY
- See Also:
-
FILTER_PATTERN_OPTION_CFG_KEY
- See Also:
-
FILTER_PATTERN_REGEX_CFG_KEY
- See Also:
-
FILTER_PATTERN_EXCLUDE_OPTION
- See Also:
-
FILTER_PATTERN_INCLUDE_OPTION
- See Also:
-
COMMIT_ISOLATION_OPTION_CFG_KEY
- See Also:
-
HANDLED_OPTIONS
List of options handled by Bamboo itself (not plugin specific) These are removed from map given to plugin validator, so plugin focus only on it's own specific options.
-
-
Method Details
-
populateContextForCreate
-
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
-