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 quietPeriodSupported,
boolean commitIsolationSupported) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
generateConfigMap(ActionParametersMap actionParametersMap,
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(Map<String,Object> context) |
void |
populateContextForEdit(Map<String,Object> context,
VcsChangeDetectionOptions triggerDefinition) |
void |
populateContextForView(Map<String,Object> context,
VcsChangeDetectionOptions triggerDefinition) |
void |
validate(ActionParametersMap actionParametersMap,
ErrorCollection errorCollection) |
public DefaultChangeDetectionOptionsConfigurator(boolean quietPeriodSupported, boolean commitIsolationSupported)
public DefaultChangeDetectionOptionsConfigurator()
public void populateContextForCreate(@NotNull Map<String,Object> context)
populateContextForCreate
in interface VcsChangeDetectionOptionsConfigurator
public void populateContextForEdit(@NotNull Map<String,Object> context, @NotNull VcsChangeDetectionOptions triggerDefinition)
populateContextForEdit
in interface VcsChangeDetectionOptionsConfigurator
public void populateContextForView(@NotNull Map<String,Object> context, @NotNull VcsChangeDetectionOptions triggerDefinition)
populateContextForView
in interface VcsChangeDetectionOptionsConfigurator
public void validate(@NotNull ActionParametersMap actionParametersMap, @NotNull ErrorCollection errorCollection)
validate
in interface VcsChangeDetectionOptionsConfigurator
@NotNull public Map<String,String> generateConfigMap(@NotNull ActionParametersMap actionParametersMap, @Nullable VcsChangeDetectionOptions previousTriggerDefinition)
generateConfigMap
in interface VcsChangeDetectionOptionsConfigurator
public boolean isQuietPeriodSupported()
VcsChangeDetectionOptionsConfigurator
isQuietPeriodSupported
in interface VcsChangeDetectionOptionsConfigurator
public boolean isCommitIsolationSupported()
VcsChangeDetectionOptionsConfigurator
isCommitIsolationSupported
in interface VcsChangeDetectionOptionsConfigurator
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.