Class BlockLogMessage
- java.lang.Object
-
- jetbrains.buildServer.serverSide.buildLog.LogMessage
-
- jetbrains.buildServer.serverSide.buildLog.BlockLogMessage
-
public class BlockLogMessage extends LogMessage
-
-
Constructor Summary
Constructors Constructor Description BlockLogMessage(String text, String blockType, Date timestamp, String renderingHint, int flowId)
BlockLogMessage(String text, String blockType, Date timestamp, String renderingHint, int flowId, Collection<String> tags)
BlockLogMessage(String text, Status status, String blockType, Date timestamp, String renderingHint, int flowId, boolean containsMessages, Collection<String> tags)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
containsMessages()
Returns true if this block contains other messages.String
getBlockDescription()
Returns non-empty block description or null if there is none.String
getBlockType()
Date
getFinishDate()
boolean
isFinished()
boolean
isFinishLogMessage()
void
setFinishDate(Date finishDate)
String
toString()
-
Methods inherited from class jetbrains.buildServer.serverSide.buildLog.LogMessage
equals, getAnchor, getFlowId, getIndex, getLevel, getParent, getRenderingHint, getStatus, getTags, getText, getTimestamp, hashCode, isInternal, isProgressMarkupMessage, setAnchor, setIndex, setParent, setStatus
-
-
-
-
Constructor Detail
-
BlockLogMessage
public BlockLogMessage(@NotNull String text, @NotNull Status status, @NotNull String blockType, @Nullable Date timestamp, @Nullable String renderingHint, int flowId, boolean containsMessages, @Nullable Collection<String> tags)
-
BlockLogMessage
public BlockLogMessage(@NotNull String text, @NotNull String blockType, @Nullable Date timestamp, @Nullable String renderingHint, int flowId, @Nullable Collection<String> tags)
-
-
Method Detail
-
getFinishDate
@Nullable public Date getFinishDate()
-
setFinishDate
public void setFinishDate(@Nullable Date finishDate)
-
isFinished
public boolean isFinished()
-
getBlockType
@NotNull public String getBlockType()
-
toString
@NotNull public String toString()
- Overrides:
toString
in classLogMessage
-
containsMessages
public boolean containsMessages()
Returns true if this block contains other messages.- Returns:
- true if this block contains other messages.
-
getBlockDescription
@Nullable public String getBlockDescription()
Returns non-empty block description or null if there is none.- Returns:
- block description or null
-
isFinishLogMessage
public boolean isFinishLogMessage()
-
-