Class MessageAttrs
- java.lang.Object
-
- jetbrains.buildServer.serverSide.buildLog.MessageAttrs
-
public final class MessageAttrs extends Object
Parameter object; used to pass additional information about message to build log- Since:
- 10.0 (01/03/16)
- Author:
- kir
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_FLOW_ID
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MessageAttrsattrs()MessageAttrsflowId(String flowId)static MessageAttrsfromMessage(BuildMessage1 msg)static MessageAttrsfromMessage(BuildMessage1 msg, String renderingHint)StringgetFlowId()StringgetRenderingHint()Collection<String>getTags()DategetTimestamp()MessageAttrsinternalize()MessageAttrsrenderingHint(String renderingHint)static MessageAttrsserverMessage()MessageAttrstag(String string)MessageAttrstags(Collection<String> strings)MessageAttrstimestamp(Date when)StringtoString()
-
-
-
Field Detail
-
DEFAULT_FLOW_ID
public static final String DEFAULT_FLOW_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
attrs
@NotNull public static MessageAttrs attrs()
-
serverMessage
@NotNull public static MessageAttrs serverMessage()
-
fromMessage
@NotNull public static MessageAttrs fromMessage(@NotNull BuildMessage1 msg)
-
fromMessage
@NotNull public static MessageAttrs fromMessage(@NotNull BuildMessage1 msg, @NotNull String renderingHint)
-
internalize
@NotNull public MessageAttrs internalize()
- Returns:
- attrs with 'internal' tag added, so the message is rendered for Verbose logging mode
- Since:
- 2019.2
-
tags
@NotNull public MessageAttrs tags(@NotNull Collection<String> strings)
-
tag
@NotNull public MessageAttrs tag(@NotNull String string)
-
timestamp
@NotNull public MessageAttrs timestamp(@NotNull Date when)
-
flowId
@NotNull public MessageAttrs flowId(@NotNull String flowId)
-
renderingHint
@NotNull public MessageAttrs renderingHint(@NotNull String renderingHint)
-
getFlowId
@NotNull public String getFlowId()
-
getTimestamp
@NotNull public Date getTimestamp()
-
getRenderingHint
@NotNull public String getRenderingHint()
-
getTags
@NotNull public Collection<String> getTags()
-
-