public interface AddToQueuePreprocessor extends ServerExtension
Modifier and Type | Method and Description |
---|---|
java.util.Map<BuildPromotion,AgentRestrictor> |
preprocess(java.util.Map<BuildPromotion,AgentRestrictor> buildsToAdd,
java.lang.String triggeredBy)
Accepts map of builds to be added in the queue and pre-processes it somehow.
|
@NotNull java.util.Map<BuildPromotion,AgentRestrictor> preprocess(@NotNull java.util.Map<BuildPromotion,AgentRestrictor> buildsToAdd, @NotNull java.lang.String triggeredBy)
buildsToAdd
- map of builds to add, key - promotion, value - agent restrictortriggeredBy
- "triggered by" which was used when builds were added into the queue