public interface

CommitIsolationAwareRepository

implements Repository
com.atlassian.bamboo.repository.CommitIsolationAwareRepository
Known Indirect Subclasses

Class Overview

Whether the repository supports commits being broken up into individual builds

Summary

Constants
String COMMIT_ISOLATION_OPTION
[Expand]
Inherited Constants
From interface com.atlassian.bamboo.repository.Repository
Public Methods
boolean isCommitIsolationEnabled()
Whether or not commits will be broken up into individual builds
@NotNull List<BuildRepositoryChanges> isolateCommits(BuildRepositoryChanges changes)
Break the single build changes object into a list of BuildRepositoryChanges.
[Expand]
Inherited Methods
From interface com.atlassian.bamboo.fieldvalue.ConvertibleFromConfig
From interface com.atlassian.bamboo.plugin.InitablePluginModule
From interface com.atlassian.bamboo.repository.Repository
From interface com.atlassian.bamboo.utils.DescriptionProvider
From interface com.atlassian.bamboo.utils.NameProvider
From interface com.atlassian.bamboo.v2.build.BuildConfigurationAwarePlugin
From interface com.atlassian.bamboo.v2.build.ConfigurablePlugin
From interface com.atlassian.bamboo.v2.build.RenderableBuildConfiguration
From interface com.atlassian.bamboo.v2.build.repository.RepositoryV2

Constants

public static final String COMMIT_ISOLATION_OPTION

Constant Value: "commit.isolation.option"

Public Methods

public boolean isCommitIsolationEnabled ()

Whether or not commits will be broken up into individual builds

@NotNull public List<BuildRepositoryChanges> isolateCommits (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.