Class AddGeneratedPromotionsToGraphPreprocessor
- java.lang.Object
-
- jetbrains.buildServer.virtualConfiguration.processor.impl.AddGeneratedPromotionsToGraphPreprocessor
-
- All Implemented Interfaces:
AddToQueuePreprocessor
,ServerExtension
,TeamCityExtension
public class AddGeneratedPromotionsToGraphPreprocessor extends Object implements AddToQueuePreprocessor
-
-
Constructor Summary
Constructors Constructor Description AddGeneratedPromotionsToGraphPreprocessor(BuildTypeContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<BuildPromotion,AgentRestrictor>
preprocess(Map<BuildPromotion,AgentRestrictor> buildsToAdd, String triggeredBy)
Accepts map of builds to be added in the queue and pre-processes it somehow.
-
-
-
Constructor Detail
-
AddGeneratedPromotionsToGraphPreprocessor
public AddGeneratedPromotionsToGraphPreprocessor(@NotNull BuildTypeContext context)
-
-
Method Detail
-
preprocess
@NotNull public Map<BuildPromotion,AgentRestrictor> preprocess(@NotNull Map<BuildPromotion,AgentRestrictor> buildsToAdd, @NotNull String triggeredBy)
Description copied from interface:AddToQueuePreprocessor
Accepts map of builds to be added in the queue and pre-processes it somehow. Returns another, probably modified map of builds to add.- Specified by:
preprocess
in interfaceAddToQueuePreprocessor
- Parameters:
buildsToAdd
- map of builds to add, key - promotion, value - agent restrictortriggeredBy
- "triggered by" which was used when builds were added into the queue- Returns:
- see above
-
-