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 boolean
equals(Object o)
Integer
getAnchor()
int
getFlowId()
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.int
getLevel()
BlockLogMessage
getParent()
String
getRenderingHint()
Status
getStatus()
Collection<String>
getTags()
String
getText()
Date
getTimestamp()
int
hashCode()
boolean
isInternal()
boolean
isProgressMarkupMessage()
void
setAnchor(Integer anchor)
void
setIndex(int index)
void
setParent(BlockLogMessage parent)
protected void
setStatus(Status status)
String
toString()
-
-
-
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()
-
-