Class StackBasedBuildLogState
- java.lang.Object
-
- jetbrains.buildServer.serverSide.buildLog.StackBasedBuildLogState
-
@NotThreadSafe public class StackBasedBuildLogState extends Object
-
-
Constructor Summary
Constructors Constructor Description StackBasedBuildLogState(int initialFlowId, BuildLogMessagesPersister messagesPersister)
-
Method Summary
-
-
-
Constructor Detail
-
StackBasedBuildLogState
public StackBasedBuildLogState(int initialFlowId, @Nullable BuildLogMessagesPersister messagesPersister)
-
-
Method Detail
-
flowStarted
public void flowStarted(int flowId, int parentFlowId)
-
flowFinished
public void flowFinished(int flowId)
-
openBlock
@NotNull public BlockLogMessage openBlock(int flowId, @NotNull String blockName, @NotNull String blockType, @Nullable Date timestamp, @Nullable String renderingHint, @NotNull Status status, @Nullable Date finishTimestamp, @Nullable Collection<String> tags, @Nullable Integer anchor)
-
openProgressBlock
@NotNull public BlockLogMessage openProgressBlock(int flowId, @NotNull String blockName, @Nullable Date timestamp, @Nullable Collection<String> tags)
-
closeBlock
@Nullable public BlockLogMessage closeBlock(int flowId, @NotNull String blockName, @NotNull String blockType, @NotNull Date timestamp)
-
closeProgressBlock
@Nullable public BlockLogMessage closeProgressBlock(int flowId, @NotNull Date timestamp)
-
message
@NotNull public LogMessage message(int flowId, @Nullable CharSequence text, @Nullable Status status, @Nullable Date timestamp, @Nullable String renderingHint, @Nullable Collection<String> tags, @Nullable Integer anchor)
-
progressMessage
@NotNull public LogMessage progressMessage(int flowId, @NotNull String text, @Nullable Date timestamp, @Nullable Collection<String> tags)
-
buildStateSnapshotUpdate
@NotNull public LogStateSnapshotUpdate buildStateSnapshotUpdate(@NotNull Map<Integer,Long> clientFlowSnapshotVersions)
-
hasFlow
public boolean hasFlow(int flowId)
-
getOpenedBlocks
@NotNull public List<BlockLogMessage> getOpenedBlocks()
-
getCurrentProgressText
@TestOnly @Nullable public String getCurrentProgressText()
-
-