Interface CommitIsolationAwareRepository

All Superinterfaces:
BambooPluginModule, BuildConfigurationAwarePlugin, ConfigurablePlugin, ConvertibleFromConfig, DescriptionProvider, InitablePluginModule, NameProvider, RenderableBuildConfiguration, Repository, RepositoryV2,
All Known Implementing Classes:
AppLinksSvnRepository, HgRepository, SvnRepository

public interface CommitIsolationAwareRepository
extends Repository

Whether the repository supports commits being broken up into individual builds

Field Summary
static java.lang.String COMMIT_ISOLATION_OPTION
Fields inherited from interface com.atlassian.bamboo.repository.Repository
Method Summary
 boolean isCommitIsolationEnabled()
          Whether or not commits will be broken up into individual builds
 java.util.List<BuildRepositoryChanges> isolateCommits(BuildRepositoryChanges changes)
          Break the single build changes object into a list of BuildRepositoryChanges.
Methods inherited from interface com.atlassian.bamboo.repository.Repository
checkConnection, getHost, getKey, getLocationIdentifier, getMinimalEditHtml, getName, getShortKey
Methods inherited from interface com.atlassian.bamboo.fieldvalue.ConvertibleFromConfig
populateFromConfig, toConfiguration
Methods inherited from interface
collectChangesSinceLastBuild, getSourceCodeDirectory, isRepositoryDifferent
Methods inherited from interface
customizeBuildRequirements, removeBuildRequirements
Methods inherited from interface
addDefaultValues, prepareConfigObject, validate
Methods inherited from interface com.atlassian.bamboo.plugin.InitablePluginModule
Methods inherited from interface
getEditHtml, getViewHtml
Methods inherited from interface com.atlassian.bamboo.utils.DescriptionProvider

Field Detail


static final java.lang.String COMMIT_ISOLATION_OPTION
See Also:
Constant Field Values
Method Detail


boolean isCommitIsolationEnabled()
Whether or not commits will be broken up into individual builds



java.util.List<BuildRepositoryChanges> isolateCommits(@NotNull
                                                              BuildRepositoryChanges changes)
Break the single build changes object into a list of BuildRepositoryChanges. Must not be null. May return an empty list but that doesn't actually make any sense.
The order here matters. The first of the BuildRepositoryChanges will be more likely to be built than lower changes, which may be discarded.

changes -

Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.