Class DefaultChangeDetectionOptionsConfigurator
java.lang.Object
com.atlassian.bamboo.vcs.configuration.configurator.DefaultChangeDetectionOptionsConfigurator
- All Implemented Interfaces:
VcsChangeDetectionOptionsConfigurator
- Direct Known Subclasses:
BitbucketCloudChangeDetectionOptionsConfigurator
,BitbucketServerChangeDetectionOptionsConfigurator
,GitChangeDetectionOptionsConfigurator
,SvnChangeDetectionOptionsConfigurator
public class DefaultChangeDetectionOptionsConfigurator
extends Object
implements VcsChangeDetectionOptionsConfigurator
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.vcs.configurator.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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerateConfigMap
(@NotNull ActionParametersMap actionParametersMap, @Nullable VcsChangeDetectionOptions previousTriggerDefinition) boolean
Informs if associated repository type supports commits being broken up into individual buildsvoid
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)
-
Constructor Details
-
DefaultChangeDetectionOptionsConfigurator
public DefaultChangeDetectionOptionsConfigurator(boolean commitIsolationSupported) -
DefaultChangeDetectionOptionsConfigurator
public DefaultChangeDetectionOptionsConfigurator()
-
-
Method Details
-
populateContextForCreate
- Specified by:
populateContextForCreate
in interfaceVcsChangeDetectionOptionsConfigurator
-
populateContextForEdit
public void populateContextForEdit(@NotNull @NotNull Map<String, Object> context, @NotNull @NotNull VcsChangeDetectionOptions triggerDefinition) - Specified by:
populateContextForEdit
in interfaceVcsChangeDetectionOptionsConfigurator
-
populateContextForView
public void populateContextForView(@NotNull @NotNull Map<String, Object> context, @NotNull @NotNull VcsChangeDetectionOptions triggerDefinition) - Specified by:
populateContextForView
in interfaceVcsChangeDetectionOptionsConfigurator
-
validate
public void validate(@NotNull @NotNull ActionParametersMap actionParametersMap, @NotNull @NotNull ErrorCollection errorCollection) - Specified by:
validate
in interfaceVcsChangeDetectionOptionsConfigurator
-
generateConfigMap
@NotNull public @NotNull Map<String,String> generateConfigMap(@NotNull @NotNull ActionParametersMap actionParametersMap, @Nullable @Nullable VcsChangeDetectionOptions previousTriggerDefinition) - Specified by:
generateConfigMap
in interfaceVcsChangeDetectionOptionsConfigurator
-
isCommitIsolationSupported
public boolean isCommitIsolationSupported()Description copied from interface:VcsChangeDetectionOptionsConfigurator
Informs if associated repository type supports commits being broken up into individual builds- Specified by:
isCommitIsolationSupported
in interfaceVcsChangeDetectionOptionsConfigurator
- Returns:
- true if Bamboo should break the single build changes object into a list of changes
-