Class ChangeDetectionSourceDefinitionImpl
- java.lang.Object
-
- com.atlassian.bamboo.vcs.configuration.ChangeDetectionSourceDefinitionImpl
-
- All Implemented Interfaces:
VcsChangeDetectionOptions
,VcsConfigurationFragment
public class ChangeDetectionSourceDefinitionImpl extends Object implements VcsChangeDetectionOptions
-
-
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 boolean
equals(Object o)
@Nullable String
getChangesetFilterPatternRegex()
The regex expression on which changeset comments are matched for exclusion.@NotNull Map<String,String>
getConfiguration()
@Nullable String
getFilterFilePatternOption()
Do we want to include files which match pattern or exclude files which match pattern?@Nullable String
getFilterFilePatternRegex()
The regex expression on which fileName (paths) are matched for inclusion/exclusion.int
getMaxRetries()
Returns the maximum number of times to collect changesint
getQuietPeriod()
Returns the number of seconds to wait between each retryint
hashCode()
boolean
isCommitIsolationEnabled()
boolean
isQuietPeriodEnabled()
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:VcsChangeDetectionOptions
Returns true if we were to enable the quiet period- Specified by:
isQuietPeriodEnabled
in interfaceVcsChangeDetectionOptions
-
getQuietPeriod
public int getQuietPeriod()
Description copied from interface:VcsChangeDetectionOptions
Returns the number of seconds to wait between each retry- Specified by:
getQuietPeriod
in interfaceVcsChangeDetectionOptions
- Returns:
- seconds between retries
-
getMaxRetries
public int getMaxRetries()
Description copied from interface:VcsChangeDetectionOptions
Returns the maximum number of times to collect changes- Specified by:
getMaxRetries
in interfaceVcsChangeDetectionOptions
-
isCommitIsolationEnabled
public boolean isCommitIsolationEnabled()
- Specified by:
isCommitIsolationEnabled
in interfaceVcsChangeDetectionOptions
- Returns:
- true if commit isolation is enabled
-
getChangesetFilterPatternRegex
@Nullable public @Nullable String getChangesetFilterPatternRegex()
Description copied from interface:VcsChangeDetectionOptions
The regex expression on which changeset comments are matched for exclusion.- Specified by:
getChangesetFilterPatternRegex
in interfaceVcsChangeDetectionOptions
- Returns:
-
getConfiguration
@NotNull public @NotNull Map<String,String> getConfiguration()
- Specified by:
getConfiguration
in interfaceVcsConfigurationFragment
-
getFilterFilePatternOption
@Nullable public @Nullable String getFilterFilePatternOption()
Description copied from interface:VcsChangeDetectionOptions
Do we want to include files which match pattern or exclude files which match pattern?- Specified by:
getFilterFilePatternOption
in interfaceVcsChangeDetectionOptions
- Returns:
-
getFilterFilePatternRegex
@Nullable public @Nullable String getFilterFilePatternRegex()
Description copied from interface:VcsChangeDetectionOptions
The regex expression on which fileName (paths) are matched for inclusion/exclusion.- Specified by:
getFilterFilePatternRegex
in interfaceVcsChangeDetectionOptions
- Returns:
-
-