Class ChangeDetectionSourceDefinitionImpl
- java.lang.Object
-
- com.atlassian.bamboo.vcs.configuration.ChangeDetectionSourceDefinitionImpl
-
- All Implemented Interfaces:
VcsChangeDetectionOptions,VcsConfigurationFragment,Serializable
public class ChangeDetectionSourceDefinitionImpl extends Object implements VcsChangeDetectionOptions
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ChangeDetectionSourceDefinitionImpl(@NotNull Map<String,String> configuration)ChangeDetectionSourceDefinitionImpl(VcsChangeDetectionOptions vcsChangeDetectionOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)@Nullable StringgetChangesetFilterPatternRegex()The regex expression on which changeset comments are matched for exclusion.@NotNull Map<String,String>getConfiguration()@Nullable StringgetFilterFilePatternOption()Do we want to include files which match pattern or exclude files which match pattern?@Nullable StringgetFilterFilePatternRegex()The regex expression on which fileName (paths) are matched for inclusion/exclusion.intgetMaxRetries()Returns the maximum number of times to collect changesintgetQuietPeriod()Returns the number of seconds to wait between each retryinthashCode()booleanisCommitIsolationEnabled()booleanisQuietPeriodEnabled()Returns true if we were to enable the quiet period
-
-
-
Constructor Detail
-
ChangeDetectionSourceDefinitionImpl
public ChangeDetectionSourceDefinitionImpl(@NotNull @NotNull Map<String,String> configuration)
-
ChangeDetectionSourceDefinitionImpl
public ChangeDetectionSourceDefinitionImpl(VcsChangeDetectionOptions vcsChangeDetectionOptions)
-
-
Method Detail
-
isQuietPeriodEnabled
public boolean isQuietPeriodEnabled()
Description copied from interface:VcsChangeDetectionOptionsReturns true if we were to enable the quiet period- Specified by:
isQuietPeriodEnabledin interfaceVcsChangeDetectionOptions
-
getQuietPeriod
public int getQuietPeriod()
Description copied from interface:VcsChangeDetectionOptionsReturns the number of seconds to wait between each retry- Specified by:
getQuietPeriodin interfaceVcsChangeDetectionOptions- Returns:
- seconds between retries
-
getMaxRetries
public int getMaxRetries()
Description copied from interface:VcsChangeDetectionOptionsReturns the maximum number of times to collect changes- Specified by:
getMaxRetriesin interfaceVcsChangeDetectionOptions
-
isCommitIsolationEnabled
public boolean isCommitIsolationEnabled()
- Specified by:
isCommitIsolationEnabledin interfaceVcsChangeDetectionOptions- Returns:
- true if commit isolation is enabled
-
getChangesetFilterPatternRegex
@Nullable public @Nullable String getChangesetFilterPatternRegex()
Description copied from interface:VcsChangeDetectionOptionsThe regex expression on which changeset comments are matched for exclusion.- Specified by:
getChangesetFilterPatternRegexin interfaceVcsChangeDetectionOptions- Returns:
-
getConfiguration
@NotNull public @NotNull Map<String,String> getConfiguration()
- Specified by:
getConfigurationin interfaceVcsConfigurationFragment
-
getFilterFilePatternOption
@Nullable public @Nullable String getFilterFilePatternOption()
Description copied from interface:VcsChangeDetectionOptionsDo we want to include files which match pattern or exclude files which match pattern?- Specified by:
getFilterFilePatternOptionin interfaceVcsChangeDetectionOptions- Returns:
-
getFilterFilePatternRegex
@Nullable public @Nullable String getFilterFilePatternRegex()
Description copied from interface:VcsChangeDetectionOptionsThe regex expression on which fileName (paths) are matched for inclusion/exclusion.- Specified by:
getFilterFilePatternRegexin interfaceVcsChangeDetectionOptions- Returns:
-
-