Class VersionedSettingsContentManagerImpl
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.versionedSettings.VersionedSettingsContentManagerImpl
-
- All Implemented Interfaces:
VersionedSettingsContentManager
public class VersionedSettingsContentManagerImpl extends Object implements VersionedSettingsContentManager
Maintains versioned settings root checkout filtered by provided checkout rules under TEAMCITY_DATA_DIR/system/caches/versionedSettings directory. Uses clean patch to checkout sources for the first time, then updates them incrementally. Cleans obsolete sources during cleanup.
-
-
Constructor Summary
Constructors Constructor Description VersionedSettingsContentManagerImpl(VersionedSettingsManager versionedSettingsManager, EventDispatcher<BuildServerListener> events)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VersionedSettingsFileSystem
fetchConfigsFromVcs(VcsRootInstance settingsRoot, CheckoutRules rules, String revision)
Returns directory with the specified VCS root contents on given revision with specified checkout rules applied.
-
-
-
Constructor Detail
-
VersionedSettingsContentManagerImpl
public VersionedSettingsContentManagerImpl(@NotNull VersionedSettingsManager versionedSettingsManager, @NotNull EventDispatcher<BuildServerListener> events)
-
-
Method Detail
-
fetchConfigsFromVcs
@NotNull public VersionedSettingsFileSystem fetchConfigsFromVcs(@NotNull VcsRootInstance settingsRoot, @NotNull CheckoutRules rules, @NotNull String revision) throws VcsException
Description copied from interface:VersionedSettingsContentManager
Returns directory with the specified VCS root contents on given revision with specified checkout rules applied.- Specified by:
fetchConfigsFromVcs
in interfaceVersionedSettingsContentManager
- Parameters:
settingsRoot
- versioned settings root of interestrules
- versioned settings checkout rulesrevision
- versioned settings revision of interest- Returns:
- see above
- Throws:
VcsException
-
-