Interface AddToQueuePreprocessor

    • Method Detail

      • preprocess

        @NotNull
        java.util.Map<BuildPromotion,​AgentRestrictor> preprocess​(@NotNull
                                                                       java.util.Map<BuildPromotion,​AgentRestrictor> buildsToAdd,
                                                                       @NotNull
                                                                       java.lang.String triggeredBy)
        Accepts map of builds to be added in the queue and pre-processes it somehow. Returns another, probably modified map of builds to add.
        Parameters:
        buildsToAdd - map of builds to add, key - promotion, value - agent restrictor
        triggeredBy - "triggered by" which was used when builds were added into the queue
        Returns:
        see above
        Since:
        10.0