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
Whether the repository supports commits being broken up into individual builds
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.repository.Repository
SELECTED_REPOSITORY, UNKNOWN_HOST
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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
getHost, getKey, getLocationIdentifier, getMinimalEditHtml, getName, getShortKey
Methods inherited from interface com.atlassian.bamboo.v2.build.repository.RepositoryV2
collectChangesSinceLastBuild, getSourceCodeDirectory, isRepositoryDifferent
-
Field Details
-
COMMIT_ISOLATION_OPTION
- See Also:
-
-
Method Details
-
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:
-