Class Message
java.lang.Object
se.bjurr.violations.lib.model.generated.sarif.Message
Encapsulates a message intended to be read by the end user.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanAn array of strings to substitute into the message string.getId()The identifier for this message.A Markdown message string.Key/value pairs that provide additional information about the object.getText()A plain text message string.inthashCode()voidsetArguments(List<String> arguments) An array of strings to substitute into the message string.voidThe identifier for this message.voidsetMarkdown(String markdown) A Markdown message string.voidsetProperties(PropertyBag properties) Key/value pairs that provide additional information about the object.voidA plain text message string.toString()withArguments(List<String> arguments) withMarkdown(String markdown) withProperties(PropertyBag properties)
-
Constructor Details
-
Message
public Message()
-
-
Method Details
-
getText
A plain text message string. -
setText
A plain text message string. -
withText
-
getMarkdown
A Markdown message string. -
setMarkdown
A Markdown message string. -
withMarkdown
-
getId
The identifier for this message. -
setId
The identifier for this message. -
withId
-
getArguments
An array of strings to substitute into the message string. -
setArguments
An array of strings to substitute into the message string. -
withArguments
-
getProperties
Key/value pairs that provide additional information about the object. -
setProperties
Key/value pairs that provide additional information about the object. -
withProperties
-
toString
-
hashCode
public int hashCode() -
equals
-