Interface BuildPromotionReplacement

    • Method Detail

      • getReplacementId

        @Nullable
        Long getReplacementId​(long originalPromotionId)
        For a given promotion id returns id of another promotion which replaced the given one in build queue.
        Parameters:
        originalPromotionId - id of queued build promotion
        Returns:
        id of replacement or null if promotion was not replaced or information about replacement is not available anymore
      • getOriginalPromotionIds

        @NotNull
        Collection<Long> getOriginalPromotionIds​(long replacementId)
        Parameters:
        replacementId - id of replacement promotion
        Returns:
        collection of original promotion ids replaced by promotion with specified id