Class BuildLogRemoteFacade
- java.lang.Object
-
- jetbrains.buildServer.serverSide.buildLog.BuildLogRemoteClient
-
- jetbrains.buildServer.serverSide.buildLog.BuildLogRemoteFacade
-
- All Implemented Interfaces:
BuildLogFacade
- Direct Known Subclasses:
StatefulBuildLogRemoteFacade
@ThreadSafe public class BuildLogRemoteFacade extends BuildLogRemoteClient implements BuildLogFacade
-
-
Field Summary
Fields Modifier and Type Field Description protected StringmyBuildLogId
-
Constructor Summary
Constructors Constructor Description BuildLogRemoteFacade(String buildLogId, HttpApi httpApi)
-
Method Summary
-
Methods inherited from class jetbrains.buildServer.serverSide.buildLog.BuildLogRemoteClient
getGson, send, writeToStream
-
-
-
-
Field Detail
-
myBuildLogId
@NotNull protected final String myBuildLogId
-
-
Method Detail
-
createLog
public boolean createLog()
- Specified by:
createLogin interfaceBuildLogFacade
-
openLog
public void openLog(boolean logFrozen)
- Specified by:
openLogin interfaceBuildLogFacade
-
writeLogFilesZip
public void writeLogFilesZip(@NotNull OutputStream destinationStream)- Specified by:
writeLogFilesZipin interfaceBuildLogFacade
-
logExists
public boolean logExists()
- Specified by:
logExistsin interfaceBuildLogFacade
-
getMessageInfo
@Nullable public LogMessageInfo getMessageInfo(int messageIndex)
- Specified by:
getMessageInfoin interfaceBuildLogFacade
-
getFormatVersion
public int getFormatVersion()
- Specified by:
getFormatVersionin interfaceBuildLogFacade
-
getNumberOfMessages
public int getNumberOfMessages()
- Specified by:
getNumberOfMessagesin interfaceBuildLogFacade
-
getLastMessageTimestamp
@Nullable public Date getLastMessageTimestamp()
- Specified by:
getLastMessageTimestampin interfaceBuildLogFacade
-
getFirstLevelOpenCloseBlocksToIndex
@NotNull public LinkedHashMap<LogMessageInfo,Integer> getFirstLevelOpenCloseBlocksToIndex(boolean useFlowAwareIndex)
- Specified by:
getFirstLevelOpenCloseBlocksToIndexin interfaceBuildLogFacade
-
getHierarchyAndThresholdMessages
@Nullable public Map<LogMessageInfo,Integer> getHierarchyAndThresholdMessages(int thresholdMessageId, boolean useFlowAwareIndex)
- Specified by:
getHierarchyAndThresholdMessagesin interfaceBuildLogFacade
-
getFlowIndex
@NotNull public Map<Integer,FlowsMessageProcessor.FlowInfo> getFlowIndex()
- Specified by:
getFlowIndexin interfaceBuildLogFacade
-
collectTestOutput
@NotNull public TestOutput collectTestOutput(int testId)
- Specified by:
collectTestOutputin interfaceBuildLogFacade
-
collectStacktraceTestOutput
@NotNull public TestOutput collectStacktraceTestOutput(int testId)
- Specified by:
collectStacktraceTestOutputin interfaceBuildLogFacade
-
containsMessageWithHint
public boolean containsMessageWithHint(@NotNull String renderingHint)- Specified by:
containsMessageWithHintin interfaceBuildLogFacade
-
getFirstInternalError
@Nullable public InternalErrorMessageProcessor.LogErrorData getFirstInternalError()
- Specified by:
getFirstInternalErrorin interfaceBuildLogFacade
-
getFlowStartIndex
@Nullable public Integer getFlowStartIndex(int flowId)
- Specified by:
getFlowStartIndexin interfaceBuildLogFacade
-
getLastSatisfyingIndex
@Nullable public Integer getLastSatisfyingIndex(int startIndex, @NotNull Set<LogMessageKind> kinds, boolean flowAware)
- Specified by:
getLastSatisfyingIndexin interfaceBuildLogFacade
-
getAgentTimeZoneId
@Nullable public String getAgentTimeZoneId()
- Specified by:
getAgentTimeZoneIdin interfaceBuildLogFacade
-
getLogModifiedTime
public long getLogModifiedTime()
- Specified by:
getLogModifiedTimein interfaceBuildLogFacade
-
getStartedStepsNumber
public int getStartedStepsNumber()
- Specified by:
getStartedStepsNumberin interfaceBuildLogFacade
-
getFlowAwareIndex
public int getFlowAwareIndex(int linearIndex)
- Specified by:
getFlowAwareIndexin interfaceBuildLogFacade
-
readAnchors
@NotNull public Map<Integer,Integer> readAnchors(@NotNull Set<Integer> anchors)
- Specified by:
readAnchorsin interfaceBuildLogFacade
-
readBlocksData
@NotNull public jetbrains.buildServer.serverSide.buildLog.OldBuildLogIterator.BlocksData readBlocksData()
- Specified by:
readBlocksDatain interfaceBuildLogFacade
-
ensureFlowAwareIndexIsConstructed
public void ensureFlowAwareIndexIsConstructed()
- Specified by:
ensureFlowAwareIndexIsConstructedin interfaceBuildLogFacade
-
scheduleFlowAwareIndexConstruction
public void scheduleFlowAwareIndexConstruction(@NotNull ExecutorService executorService)- Specified by:
scheduleFlowAwareIndexConstructionin interfaceBuildLogFacade
-
getMessagesChunk
@Nullable public jetbrains.buildServer.serverSide.buildLog.MessagesChunk getMessagesChunk(int messageIndex, boolean flowAware, boolean reversed)- Specified by:
getMessagesChunkin interfaceBuildLogFacade
-
getMessagesChunkWithLogRepair
@NotNull public jetbrains.buildServer.serverSide.buildLog.MessagesReadResult getMessagesChunkWithLogRepair(long messagePosition, int messageIndex, boolean readOnlyIndexedMessages, boolean logFrozen)- Specified by:
getMessagesChunkWithLogRepairin interfaceBuildLogFacade
-
getLogPositionByIndex
public long getLogPositionByIndex(int messageIndex)
- Specified by:
getLogPositionByIndexin interfaceBuildLogFacade
-
-