public class DefaultChangeDetectionOptionsConfigurator extends Object implements VcsChangeDetectionOptionsConfigurator
CHANGESET_FILTER_REGEX_CFG_KEY, COMMIT_ISOLATION_OPTION_CFG_KEY, FILTER_PATTERN_EXCLUDE_OPTION, FILTER_PATTERN_INCLUDE_OPTION, FILTER_PATTERN_OPTION_CFG_KEY, FILTER_PATTERN_REGEX_CFG_KEY, HANDLED_OPTIONS, QUIET_PERIOD_CFG_KEY, QUIET_PERIOD_ENABLED_CFG_KEY, QUIET_PERIOD_MAX_RETRIES_CFG_KEY
Constructor and Description |
---|
DefaultChangeDetectionOptionsConfigurator() |
DefaultChangeDetectionOptionsConfigurator(boolean commitIsolationSupported) |
Modifier and Type | Method and Description |
---|---|
@NotNull Map<String,String> |
generateConfigMap(@NotNull ActionParametersMap actionParametersMap,
@Nullable VcsChangeDetectionOptions previousTriggerDefinition) |
boolean |
isCommitIsolationSupported()
Informs if associated repository type supports commits being broken up into individual builds
|
boolean |
isQuietPeriodSupported()
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) |
public DefaultChangeDetectionOptionsConfigurator(boolean commitIsolationSupported)
public DefaultChangeDetectionOptionsConfigurator()
public void populateContextForCreate(@NotNull @NotNull Map<String,Object> context)
populateContextForCreate
in interface VcsChangeDetectionOptionsConfigurator
public void populateContextForEdit(@NotNull @NotNull Map<String,Object> context, @NotNull @NotNull VcsChangeDetectionOptions triggerDefinition)
populateContextForEdit
in interface VcsChangeDetectionOptionsConfigurator
public void populateContextForView(@NotNull @NotNull Map<String,Object> context, @NotNull @NotNull VcsChangeDetectionOptions triggerDefinition)
populateContextForView
in interface VcsChangeDetectionOptionsConfigurator
public void validate(@NotNull @NotNull ActionParametersMap actionParametersMap, @NotNull @NotNull ErrorCollection errorCollection)
validate
in interface VcsChangeDetectionOptionsConfigurator
@NotNull public @NotNull Map<String,String> generateConfigMap(@NotNull @NotNull ActionParametersMap actionParametersMap, @Nullable @Nullable VcsChangeDetectionOptions previousTriggerDefinition)
generateConfigMap
in interface VcsChangeDetectionOptionsConfigurator
public boolean isQuietPeriodSupported()
VcsChangeDetectionOptionsConfigurator
isQuietPeriodSupported
in interface VcsChangeDetectionOptionsConfigurator
public boolean isCommitIsolationSupported()
VcsChangeDetectionOptionsConfigurator
isCommitIsolationSupported
in interface VcsChangeDetectionOptionsConfigurator
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.