Class BuildLogReaderUtils


  • public final class BuildLogReaderUtils
    extends Object
    Provides stateless methods to read from messages and index files.
    • Method Detail

      • getNumberOfMessages

        public static int getNumberOfMessages​(@NotNull
                                              String buildLogId)
      • getLogPositionByIndex

        public static long getLogPositionByIndex​(@NotNull
                                                 String buildLogId,
                                                 int messageIndex)
      • fillMessagesChunkExtended

        @NotNull
        public static jetbrains.buildServer.serverSide.buildLog.MessagesReadResult fillMessagesChunkExtended​(@NotNull
                                                                                                             String buildLogId,
                                                                                                             long messagePosition,
                                                                                                             int messageIndex,
                                                                                                             boolean readOnlyIndexedMessages,
                                                                                                             boolean logFrozen)
      • fillMessagesChunk

        @Nullable
        public static jetbrains.buildServer.serverSide.buildLog.MessagesChunk fillMessagesChunk​(@NotNull
                                                                                                String buildLogId,
                                                                                                int initialIndex,
                                                                                                boolean useFlowAwareIndex,
                                                                                                boolean reversed)
      • readBlocksData

        @NotNull
        public static jetbrains.buildServer.serverSide.buildLog.OldBuildLogIterator.BlocksData readBlocksData​(@NotNull
                                                                                                              String buildLogId)
                                                                                                       throws IOException,
                                                                                                              jetbrains.buildServer.serverSide.buildLog.BrokenBuildLogException
        Throws:
        IOException
        jetbrains.buildServer.serverSide.buildLog.BrokenBuildLogException