Interface BuildLogFacade
-
- All Known Subinterfaces:
StatefulBuildLogFacade
- All Known Implementing Classes:
BuildLogLocalFacade
,BuildLogRemoteFacade
,StatefulBuildLogLocalFacade
,StatefulBuildLogRemoteFacade
@ThreadSafe public interface BuildLogFacade
Routes build log requests via the build log service, if enabled, or performs IO direct access, if not.
-
-
Method Summary
-
-
-
Method Detail
-
createLog
boolean createLog()
-
openLog
void openLog(boolean logFrozen)
-
containsMessageWithHint
boolean containsMessageWithHint(@NotNull String renderingHint)
-
getFirstInternalError
@Nullable InternalErrorMessageProcessor.LogErrorData getFirstInternalError()
-
getFlowStartIndex
@Nullable Integer getFlowStartIndex(int flowId)
-
getLastSatisfyingIndex
@Nullable Integer getLastSatisfyingIndex(int startIndex, @NotNull Set<LogMessageKind> kinds, boolean flowAware)
-
getAgentTimeZoneId
@Nullable String getAgentTimeZoneId()
-
getFirstLevelOpenCloseBlocksToIndex
@NotNull LinkedHashMap<LogMessageInfo,Integer> getFirstLevelOpenCloseBlocksToIndex(boolean useFlowAwareIndex) throws FlowAwareIndexAccessException
- Throws:
FlowAwareIndexAccessException
-
getHierarchyAndThresholdMessages
@Nullable Map<LogMessageInfo,Integer> getHierarchyAndThresholdMessages(int thresholdMessageId, boolean useFlowAwareIndex) throws FlowAwareIndexAccessException
- Throws:
FlowAwareIndexAccessException
-
getFlowIndex
@NotNull Map<Integer,FlowsMessageProcessor.FlowInfo> getFlowIndex()
-
collectTestOutput
@NotNull TestOutput collectTestOutput(int testId)
-
collectStacktraceTestOutput
@NotNull TestOutput collectStacktraceTestOutput(int testId)
-
getMessageInfo
@Nullable LogMessageInfo getMessageInfo(int messageIndex)
-
getLastMessageTimestamp
@Nullable Date getLastMessageTimestamp()
-
getNumberOfMessages
int getNumberOfMessages()
-
getStartedStepsNumber
int getStartedStepsNumber()
-
getFlowAwareIndex
int getFlowAwareIndex(int linearIndex) throws FlowAwareIndexAccessException
- Throws:
FlowAwareIndexAccessException
-
readAnchors
@NotNull Map<Integer,Integer> readAnchors(@NotNull Set<Integer> anchors) throws AnchorReadException
- Throws:
AnchorReadException
-
getFormatVersion
int getFormatVersion()
-
logExists
boolean logExists()
-
readBlocksData
@NotNull jetbrains.buildServer.serverSide.buildLog.OldBuildLogIterator.BlocksData readBlocksData() throws jetbrains.buildServer.serverSide.buildLog.BrokenBuildLogException, IOException
- Throws:
jetbrains.buildServer.serverSide.buildLog.BrokenBuildLogException
IOException
-
getLogModifiedTime
long getLogModifiedTime()
-
writeLogFilesZip
void writeLogFilesZip(@NotNull OutputStream destinationStream)
-
ensureFlowAwareIndexIsConstructed
void ensureFlowAwareIndexIsConstructed() throws FlowAwareIndexAccessException
- Throws:
FlowAwareIndexAccessException
-
scheduleFlowAwareIndexConstruction
void scheduleFlowAwareIndexConstruction(@NotNull ExecutorService executorService)
-
getMessagesChunk
@Nullable jetbrains.buildServer.serverSide.buildLog.MessagesChunk getMessagesChunk(int messageIndex, boolean flowAware, boolean reversed)
-
getMessagesChunkWithLogRepair
@NotNull jetbrains.buildServer.serverSide.buildLog.MessagesReadResult getMessagesChunkWithLogRepair(long messagePosition, int messageIndex, boolean readOnlyIndexedMessages, boolean logFrozen)
-
getLogPositionByIndex
long getLogPositionByIndex(int messageIndex)
-
-