public class Message extends Object
| Constructor and Description |
|---|
Message() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
List<String> |
getArguments()
An array of strings to substitute into the message string.
|
String |
getId()
The identifier for this message.
|
String |
getMarkdown()
A Markdown message string.
|
PropertyBag |
getProperties()
Key/value pairs that provide additional information about the object.
|
String |
getText()
A plain text message string.
|
int |
hashCode() |
void |
setArguments(List<String> arguments)
An array of strings to substitute into the message string.
|
void |
setId(String id)
The identifier for this message.
|
void |
setMarkdown(String markdown)
A Markdown message string.
|
void |
setProperties(PropertyBag properties)
Key/value pairs that provide additional information about the object.
|
void |
setText(String text)
A plain text message string.
|
String |
toString() |
Message |
withArguments(List<String> arguments) |
Message |
withId(String id) |
Message |
withMarkdown(String markdown) |
Message |
withProperties(PropertyBag properties) |
Message |
withText(String text) |
public String getText()
public void setText(String text)
public String getMarkdown()
public void setMarkdown(String markdown)
public String getId()
public void setId(String id)
public List<String> getArguments()
public void setArguments(List<String> arguments)
public PropertyBag getProperties()
public void setProperties(PropertyBag properties)
public Message withProperties(PropertyBag properties)
Copyright © 2020 Contrast Security. All rights reserved.