Interface ChangesCollectorResult

  • All Known Implementing Classes:
    BuildChangesLoaderContext

    public interface ChangesCollectorResult
    Contains result of changes collecting
    • Method Detail

      • getMaxOccupiedModificationId

        @Nullable
        Long getMaxOccupiedModificationId​(@NotNull
                                          BuildPromotion promotion)
        Returns max occupied modification id among all VCS roots of specified build promotion. Can be null if there were no changes collected for VCS roots of this promotion.
        Parameters:
        promotion - build promotion
        Returns:
        see above
      • getBuildRevisions

        @NotNull
        Collection<BuildRevisionEx> getBuildRevisions​(@NotNull
                                                      BuildPromotion promotion)
        Returns revisions to be set to specified build promotion
        Parameters:
        promotion - build promotion
        Returns:
        final revisions to set to build promotion
      • getChangesCollectingProblems

        @NotNull
        Map<SBuildType,​VcsException> getChangesCollectingProblems()
        Returns:
        build configurations and VCS errors where changes collecting failed for some reason
      • getUpperLimitRevisions

        @NotNull
        Map<VcsRootInstance,​String> getUpperLimitRevisions​(@NotNull
                                                                 BuildPromotion promotion)
        If changes were collected during build start, returns build's branches revisions up to which changes were collected. Returns an empty map if changes were not collected.
      • shouldCollectChangesForPromotion

        boolean shouldCollectChangesForPromotion​(@NotNull
                                                 BuildPromotion buildPromotion)
      • isChangesCollectingPerformedFor

        boolean isChangesCollectingPerformedFor​(@NotNull
                                                BuildPromotion buildPromotion)