Package com.atlassian.bamboo.repository
Interface CommitIsolationAwareRepository
-
- All Superinterfaces:
BambooPluginModule
,BuildConfigurationAwarePlugin
,ConfigurablePlugin
,ConvertibleFromConfig
,DescriptionProvider
,InitablePluginModule
,NameProvider
,RenderableBuildConfiguration
,Repository
,RepositoryV2
,Serializable
- All Known Implementing Classes:
SvnRepository
public interface CommitIsolationAwareRepository extends Repository
Whether the repository supports commits being broken up into individual builds
-
-
Field Summary
Fields Modifier and Type Field Description static String
COMMIT_ISOLATION_OPTION
-
Fields inherited from interface com.atlassian.bamboo.repository.Repository
SELECTED_REPOSITORY, UNKNOWN_HOST
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isCommitIsolationEnabled()
Whether or not commits will be broken up into individual builds@NotNull List<BuildRepositoryChanges>
isolateCommits(@NotNull BuildRepositoryChanges changes)
Break the single build changes object into a list ofBuildRepositoryChanges
.-
Methods inherited from interface com.atlassian.bamboo.v2.build.BuildConfigurationAwarePlugin
addDefaultValues, isConfigurationMissing, prepareConfigObject, validate
-
Methods inherited from interface com.atlassian.bamboo.v2.build.ConfigurablePlugin
customizeBuildRequirements, removeBuildRequirements
-
Methods inherited from interface com.atlassian.bamboo.fieldvalue.ConvertibleFromConfig
populateFromConfig, toConfiguration
-
Methods inherited from interface com.atlassian.bamboo.utils.DescriptionProvider
getDescription
-
Methods inherited from interface com.atlassian.bamboo.plugin.InitablePluginModule
init
-
Methods inherited from interface com.atlassian.bamboo.v2.build.RenderableBuildConfiguration
getEditHtml, getViewHtml
-
Methods inherited from interface com.atlassian.bamboo.repository.Repository
checkConnection, getHost, getKey, getLocationIdentifier, getMinimalEditHtml, getName, getShortKey
-
Methods inherited from interface com.atlassian.bamboo.v2.build.repository.RepositoryV2
collectChangesSinceLastBuild, getSourceCodeDirectory, isRepositoryDifferent
-
-
-
-
Field Detail
-
COMMIT_ISOLATION_OPTION
static final String COMMIT_ISOLATION_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
isCommitIsolationEnabled
boolean isCommitIsolationEnabled()
Whether or not commits will be broken up into individual builds- Returns:
-
isolateCommits
@NotNull @NotNull List<BuildRepositoryChanges> isolateCommits(@NotNull @NotNull BuildRepositoryChanges changes)
Break the single build changes object into a list ofBuildRepositoryChanges
. Must not be null. May return an empty list but that doesn't actually make any sense.
The order here matters. The first of theBuildRepositoryChanges
will be more likely to be built than lower changes, which may be discarded.- Parameters:
changes
-- Returns:
-
-