Interface VersionedSettingsPendingTransactions
-
- All Known Implementing Classes:
DelayedCommitPerSettingsRootStrategy
public interface VersionedSettingsPendingTransactions
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
completePendingTransactions(Collection<BuildPromotion> chain)
Takes pending transactions for every settings VCS root used in the given chain and wait for them to complete, but no longer than a timeout defined inVersionedSettingsOptions.getCompletePendingTransactionsTimeoutSeconds()
boolean
hasPendingTransactions(VcsRootInstance root)
Allows to check if there pending transactions in the given settings root
-
-
-
Method Detail
-
hasPendingTransactions
boolean hasPendingTransactions(@NotNull VcsRootInstance root)
Allows to check if there pending transactions in the given settings root- Parameters:
root
- vsettings root of interest- Returns:
- true if there are uncommitted transactions
-
completePendingTransactions
void completePendingTransactions(@NotNull Collection<BuildPromotion> chain)
Takes pending transactions for every settings VCS root used in the given chain and wait for them to complete, but no longer than a timeout defined inVersionedSettingsOptions.getCompletePendingTransactionsTimeoutSeconds()
- Parameters:
chain
- build chain for which to complete pending transactions
-
-