Class SarifLog.Message.MessageBuilder
- java.lang.Object
-
- net.sourceforge.pmd.renderers.internal.sarif.SarifLog.Message.MessageBuilder
-
- Enclosing class:
- SarifLog.Message
public static class SarifLog.Message.MessageBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SarifLog.Message
build()
SarifLog.Message.MessageBuilder
id(String id)
The identifier for this message.SarifLog.Message.MessageBuilder
markdown(String markdown)
A Markdown message string.SarifLog.Message.MessageBuilder
text(String text)
A plain text message string.String
toString()
-
-
-
Method Detail
-
text
public SarifLog.Message.MessageBuilder text(String text)
A plain text message string.- Returns:
this
.
-
markdown
public SarifLog.Message.MessageBuilder markdown(String markdown)
A Markdown message string.- Returns:
this
.
-
id
public SarifLog.Message.MessageBuilder id(String id)
The identifier for this message.- Returns:
this
.
-
build
public SarifLog.Message build()
-
-