com.atlassian.bamboo.repository
Interface CommitIsolationAwareRepository

All Superinterfaces:
BambooPluginModule, BuildConfigurationAwarePlugin, ConfigurablePlugin, ConvertibleFromConfig, DescriptionProvider, InitablePluginModule, NameProvider, RenderableBuildConfiguration, Repository, RepositoryV2, java.io.Serializable
All Known Implementing Classes:
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
SELECTED_REPOSITORY, UNKNOWN_HOST
 
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 BuildsChanges.
 
Methods inherited from interface com.atlassian.bamboo.repository.Repository
checkConnection, getHost, getKey, getLocationIdentifier, getMinimalEditHtml, getName, getShortKey, getTriggerIpAddress, setReferencesDifferentRepository
 
Methods inherited from interface com.atlassian.bamboo.fieldvalue.ConvertibleFromConfig
populateFromConfig, toConfiguration
 
Methods inherited from interface com.atlassian.bamboo.v2.build.repository.RepositoryV2
collectChangesSinceLastBuild, getSourceCodeDirectory, isRepositoryDifferent, referencesDifferentRepository, retrieveSourceCode
 
Methods inherited from interface com.atlassian.bamboo.v2.build.ConfigurablePlugin
customizeBuildRequirements, removeBuildRequirements
 
Methods inherited from interface com.atlassian.bamboo.v2.build.BuildConfigurationAwarePlugin
addDefaultValues, prepareConfigObject, validate
 
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.utils.DescriptionProvider
getDescription
 

Field Detail

COMMIT_ISOLATION_OPTION

static final java.lang.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
java.util.List<BuildRepositoryChanges> isolateCommits(@NotNull
                                                              BuildRepositoryChanges changes)
Break the single build changes object into a list of BuildsChanges. 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 BuildChanges will be more likely to be built than lower changes, which may be discarded.

Parameters:
changes -
Returns:


Copyright © 2011 Atlassian. All Rights Reserved.