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 String
DEFAULT_FLOW_ID
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MessageAttrs
attrs()
MessageAttrs
flowId(String flowId)
static MessageAttrs
fromMessage(BuildMessage1 msg)
static MessageAttrs
fromMessage(BuildMessage1 msg, String renderingHint)
String
getFlowId()
String
getRenderingHint()
Collection<String>
getTags()
Date
getTimestamp()
MessageAttrs
internalize()
MessageAttrs
renderingHint(String renderingHint)
static MessageAttrs
serverMessage()
MessageAttrs
tag(String string)
MessageAttrs
tags(Collection<String> strings)
MessageAttrs
timestamp(Date when)
String
toString()
-
-
-
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()
-
-