Package jetbrains.buildServer.vcs.impl
Class ModificationFilesLoaderImpl
- java.lang.Object
-
- jetbrains.buildServer.vcs.impl.ModificationFilesLoaderImpl
-
- All Implemented Interfaces:
ModificationFilesLoader
public class ModificationFilesLoaderImpl extends Object implements ModificationFilesLoader
Created by Nikita.Skvortsov Date: 12/27/11, 2:46 PM
-
-
Constructor Summary
Constructors Constructor Description ModificationFilesLoaderImpl(VcsModificationsStorage vcsModificationsStorage, SVcsFileModificationFactory sVcsFileModificationFactory, SubrepoCheckoutRulesProvider subrepoCheckoutRulesProvider, VersionedSettingsManager versionedSettingsManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<SVcsModification,List<FilteredVcsChange>>getFilteredChangedFiles(List<SVcsModification> modifications, BuildPromotion promotion)Returns filtered files using the checkout rules of the promotion.List<FilteredVcsChange>getFilteredChangedFiles(SVcsModification modification, BuildPromotion buildPromotion)List<FilteredVcsChange>getFilteredChangedFiles(SVcsModification modification, SBuildType buildType)List<FilteredVcsChange>getFilteredChangedFiles(SVcsModification modification, CheckoutRules rules)List<VcsChange>getRawChangedFiles(SVcsModification modification)Loads raw file changes for the given modification id, without applying mapping or filtering
-
-
-
Constructor Detail
-
ModificationFilesLoaderImpl
public ModificationFilesLoaderImpl(@NotNull VcsModificationsStorage vcsModificationsStorage, @NotNull SVcsFileModificationFactory sVcsFileModificationFactory, @NotNull SubrepoCheckoutRulesProvider subrepoCheckoutRulesProvider, @NotNull VersionedSettingsManager versionedSettingsManager)
-
-
Method Detail
-
getRawChangedFiles
@NotNull public List<VcsChange> getRawChangedFiles(@NotNull SVcsModification modification)
Description copied from interface:ModificationFilesLoaderLoads raw file changes for the given modification id, without applying mapping or filtering- Specified by:
getRawChangedFilesin interfaceModificationFilesLoader- Parameters:
modification- VCS modification- Returns:
- the list of loaded changes
-
getFilteredChangedFiles
@NotNull public List<FilteredVcsChange> getFilteredChangedFiles(@NotNull SVcsModification modification, @NotNull SBuildType buildType)
- Specified by:
getFilteredChangedFilesin interfaceModificationFilesLoader
-
getFilteredChangedFiles
@NotNull public List<FilteredVcsChange> getFilteredChangedFiles(@NotNull SVcsModification modification, @NotNull BuildPromotion buildPromotion)
- Specified by:
getFilteredChangedFilesin interfaceModificationFilesLoader
-
getFilteredChangedFiles
@NotNull public Map<SVcsModification,List<FilteredVcsChange>> getFilteredChangedFiles(@NotNull List<SVcsModification> modifications, @NotNull BuildPromotion promotion)
Description copied from interface:ModificationFilesLoaderReturns filtered files using the checkout rules of the promotion.- Specified by:
getFilteredChangedFilesin interfaceModificationFilesLoader- Parameters:
modifications- modifications whose files to filterpromotion- promotion whose checkout rules to use- Returns:
- map from modification to the list of changed files
-
getFilteredChangedFiles
@NotNull public List<FilteredVcsChange> getFilteredChangedFiles(@NotNull SVcsModification modification, @NotNull CheckoutRules rules)
- Specified by:
getFilteredChangedFilesin interfaceModificationFilesLoader
-
-