Class BuildCustomizerImpl.AutoMaxModificationIdStrategy
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.BuildCustomizerImpl.AutoMaxModificationIdStrategy
-
- All Implemented Interfaces:
VcsChangesCollectorFactory.MaxModificationIdSelectStrategy
- Enclosing class:
- BuildCustomizerImpl
public class BuildCustomizerImpl.AutoMaxModificationIdStrategy extends Object implements VcsChangesCollectorFactory.MaxModificationIdSelectStrategy
-
-
Constructor Summary
Constructors Constructor Description AutoMaxModificationIdStrategy(BuildPromotionEx bp, Collection<? extends BuildPromotion> finishedPromotionsToUse, Set<String> buildTypeIdsToIgnore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getModificationId(BuildChain buildChain)
long
getUpperModificationId(SBuildType value)
boolean
shouldCollectChanges()
boolean
shouldForceCollectingChanges(String buildTypeInternalId)
-
-
-
Constructor Detail
-
AutoMaxModificationIdStrategy
public AutoMaxModificationIdStrategy(@NotNull BuildPromotionEx bp, @NotNull Collection<? extends BuildPromotion> finishedPromotionsToUse, @NotNull Set<String> buildTypeIdsToIgnore)
-
-
Method Detail
-
getModificationId
@Nullable public Long getModificationId(BuildChain buildChain)
-
getUpperModificationId
public long getUpperModificationId(@NotNull SBuildType value)
- Specified by:
getUpperModificationId
in interfaceVcsChangesCollectorFactory.MaxModificationIdSelectStrategy
-
shouldForceCollectingChanges
public boolean shouldForceCollectingChanges(@NotNull String buildTypeInternalId)
- Specified by:
shouldForceCollectingChanges
in interfaceVcsChangesCollectorFactory.MaxModificationIdSelectStrategy
-
shouldCollectChanges
public boolean shouldCollectChanges()
- Specified by:
shouldCollectChanges
in interfaceVcsChangesCollectorFactory.MaxModificationIdSelectStrategy
-
-