Class BuildLogReaderUtils
- java.lang.Object
-
- jetbrains.buildServer.serverSide.buildLog.BuildLogReaderUtils
-
public final class BuildLogReaderUtils extends Object
Provides stateless methods to read from messages and index files.
-
-
Field Summary
Fields Modifier and Type Field Description static String
BROKEN_MESSAGE_TAG
static String
LOG_CORRUPTED_MESSAGE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static jetbrains.buildServer.serverSide.buildLog.MessagesChunk
fillMessagesChunk(String buildLogId, int initialIndex, boolean useFlowAwareIndex, boolean reversed)
static jetbrains.buildServer.serverSide.buildLog.MessagesReadResult
fillMessagesChunkExtended(String buildLogId, long messagePosition, int messageIndex, boolean readOnlyIndexedMessages, boolean logFrozen)
static long
getLogPositionByIndex(String buildLogId, int messageIndex)
static int
getNumberOfMessages(String buildLogId)
static jetbrains.buildServer.serverSide.buildLog.OldBuildLogIterator.BlocksData
readBlocksData(String buildLogId)
-
-
-
Field Detail
-
BROKEN_MESSAGE_TAG
public static final String BROKEN_MESSAGE_TAG
- See Also:
- Constant Field Values
-
LOG_CORRUPTED_MESSAGE
public static final String LOG_CORRUPTED_MESSAGE
- See Also:
- Constant Field Values
-
-
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
-
-