Class OrderedBuild

    • Constructor Detail

      • OrderedBuild

        public OrderedBuild​(long buildId,
                            long promotionId,
                            @Nullable
                            Long modificationId,
                            @Nullable
                            Long chainModificationId,
                            @Nullable
                            String defaultBranchDisplayName,
                            long startTimestamp,
                            int state,
                            @NotNull
                            Map<Long,​String> rootRevisionMap,
                            @NotNull
                            gnu.trove.TLongLongHashMap rootModIdsMap)
      • OrderedBuild

        public OrderedBuild​(@NotNull
                            SBuild build)
    • Method Detail

      • getPromotionId

        public long getPromotionId()
      • isCanceled

        public boolean isCanceled()
      • isPersonal

        public boolean isPersonal()
      • isFinishedBuild

        public boolean isFinishedBuild()
      • isSuccessfulFinishedBuild

        public boolean isSuccessfulFinishedBuild()
      • isDefaultBranch

        public boolean isDefaultBranch()
      • getDefaultBranchDisplayName

        @Nullable
        public String getDefaultBranchDisplayName()
      • getRevision

        @Nullable
        public String getRevision​(long rootId)
      • getRevisionAndModId

        @Nullable
        public Pair<String,​Long> getRevisionAndModId​(long rootId)
      • isDetachedChanges

        public boolean isDetachedChanges()
      • getVcsRootInstanceIds

        @NotNull
        public long[] getVcsRootInstanceIds()
      • getRootModId

        @Nullable
        public Long getRootModId​(long rootId)
      • sameRevisions

        public boolean sameRevisions​(@NotNull
                                     OrderedBuild orderedBuild,
                                     @NotNull
                                     Predicate<Long> vcsRootInstanceFilter)
      • isOlderThan

        public boolean isOlderThan​(@NotNull
                                   OrderedBuild anotherBuild)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object