Interface BuildPromotionManagerEx
-
- All Superinterfaces:
BuildPromotionFactory,BuildPromotionManager
- All Known Implementing Classes:
BuildPromotionManagerImpl
public interface BuildPromotionManagerEx extends BuildPromotionManager
Created 12.04.13 13:55- Author:
- Eugene Petrenko (eugene.petrenko@jetbrains.com)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jetbrains.buildServer.serverSide.BuildPromotionManager
BuildPromotionManager.BuildPromotionInitFromDbHint
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbuildsRemoved(String buildTypeId, BuildTypeRemovedBuilds predicate)BuildPromotionExfindCached(long promotionId)Collection<BuildPromotionEx>findCached(Collection<Long> ids)BuildPromotionExfindPromotionById(long promotionId)Searches for a promotion with specified id.voidpromotionDeleted(BuildPromotionEx promo)voidpromotionPersisted(BuildPromotionEx promotion)voidresetChanges(Collection<SProject> projects)Resets changes in promotions from specified projects-
Methods inherited from interface jetbrains.buildServer.serverSide.BuildPromotionFactory
createDummyPromotion, createDummyPromotion, createNewPromotion
-
Methods inherited from interface jetbrains.buildServer.serverSide.BuildPromotionManager
findPromotionOrReplacement, findPromotionsByIds, getDispatcher, getLastBorrowedModificationId, getMaxUsedModificationId, getPromotionById
-
-
-
-
Method Detail
-
promotionDeleted
void promotionDeleted(@NotNull BuildPromotionEx promo)
-
buildsRemoved
void buildsRemoved(@NotNull String buildTypeId, @NotNull BuildTypeRemovedBuilds predicate)
-
promotionPersisted
void promotionPersisted(@NotNull BuildPromotionEx promotion)
-
findPromotionById
@Nullable BuildPromotionEx findPromotionById(long promotionId)
Searches for a promotion with specified id. Similar toBuildPromotionManager.getPromotionById(long)but does not throw exception if promotion with specified id does not exist.- Specified by:
findPromotionByIdin interfaceBuildPromotionManager- Parameters:
promotionId- id of the promotion- Returns:
- see above
-
findCached
@Nullable BuildPromotionEx findCached(long promotionId)
-
findCached
@NotNull Collection<BuildPromotionEx> findCached(@NotNull Collection<Long> ids)
-
resetChanges
void resetChanges(@NotNull Collection<SProject> projects)Resets changes in promotions from specified projects- Parameters:
projects- projects for changes reset
-
-