public interface CommitIsolationAwareRepository extends Repository
| Modifier and Type | Field and Description |
|---|---|
static String |
COMMIT_ISOLATION_OPTION |
SELECTED_REPOSITORY, UNKNOWN_HOST| Modifier and Type | Method and Description |
|---|---|
boolean |
isCommitIsolationEnabled()
Whether or not commits will be broken up into individual builds
|
List<BuildRepositoryChanges> |
isolateCommits(BuildRepositoryChanges changes)
Break the single build changes object into a list of
BuildRepositoryChanges. |
checkConnection, getHost, getKey, getLocationIdentifier, getMinimalEditHtml, getName, getShortKeypopulateFromConfig, toConfigurationcollectChangesSinceLastBuild, getSourceCodeDirectory, isRepositoryDifferentcustomizeBuildRequirements, removeBuildRequirementsaddDefaultValues, isConfigurationMissing, prepareConfigObject, validateinitgetEditHtml, getViewHtmlgetDescriptionstatic final String COMMIT_ISOLATION_OPTION
boolean isCommitIsolationEnabled()
@NotNull List<BuildRepositoryChanges> isolateCommits(@NotNull BuildRepositoryChanges changes)
BuildRepositoryChanges. Must not be null. May return an empty
list but that doesn't actually make any sense. BuildRepositoryChanges
will be more likely to be built than lower changes, which may be discarded.changes - Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.