Class LogMessage
- java.lang.Object
-
- jetbrains.buildServer.serverSide.buildLog.LogMessage
-
- Direct Known Subclasses:
BlockLogMessage
public class LogMessage extends Object
-
-
Constructor Summary
Constructors Constructor Description LogMessage(CharSequence text, Status status, Date timestamp, String renderingHint, boolean isProgressMarkupMessage, int flowId)LogMessage(CharSequence text, Status status, Date timestamp, String renderingHint, boolean isProgressMarkupMessage, int flowId, Collection<String> tags)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)IntegergetAnchor()intgetFlowId()intgetIndex()Usually the sequential index of this message record in the build log file, but for "close block" message can be the index of the corresponding earlier "open block" message.intgetLevel()BlockLogMessagegetParent()StringgetRenderingHint()StatusgetStatus()Collection<String>getTags()StringgetText()DategetTimestamp()inthashCode()booleanisInternal()booleanisProgressMarkupMessage()voidsetAnchor(Integer anchor)voidsetIndex(int index)voidsetParent(BlockLogMessage parent)protected voidsetStatus(Status status)StringtoString()
-
-
-
Constructor Detail
-
LogMessage
public LogMessage(@Nullable CharSequence text, @Nullable Status status, @Nullable Date timestamp, @Nullable String renderingHint, boolean isProgressMarkupMessage, int flowId)
-
LogMessage
public LogMessage(@Nullable CharSequence text, @Nullable Status status, @Nullable Date timestamp, @Nullable String renderingHint, boolean isProgressMarkupMessage, int flowId, @Nullable Collection<String> tags)
-
-
Method Detail
-
isInternal
public boolean isInternal()
-
getFlowId
public int getFlowId()
-
getParent
@Nullable public BlockLogMessage getParent()
-
setParent
public void setParent(@Nullable BlockLogMessage parent)
-
getText
@NotNull public String getText()
-
isProgressMarkupMessage
public boolean isProgressMarkupMessage()
-
getStatus
@NotNull public Status getStatus()
-
getRenderingHint
@NotNull public String getRenderingHint()
-
getTimestamp
@NotNull public Date getTimestamp()
-
getLevel
public int getLevel()
-
getIndex
public int getIndex()
Usually the sequential index of this message record in the build log file, but for "close block" message can be the index of the corresponding earlier "open block" message.
-
setIndex
public void setIndex(int index)
-
setStatus
protected void setStatus(@NotNull Status status)
-
getTags
@NotNull public Collection<String> getTags()
-
setAnchor
public void setAnchor(@Nullable Integer anchor)
-
getAnchor
@Nullable public Integer getAnchor()
-
-