Package org.togglz.slack.notification
Enum Class Markdown
- All Implemented Interfaces:
Serializable,Comparable<Markdown>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionhttps://api.slack.com/docs/message-formatting#message_formattingstatic Stringhttps://api.slack.com/docs/message-formatting#linking_to_urlsstatic Stringhttps://api.slack.com/docs/message-formatting#linking_to_channels_and_usersstatic MarkdownReturns the enum constant of this class with the specified name.static Markdown[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BOLD
-
CODE
-
ITALIC
-
STRIKE
-
PRE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
format
https://api.slack.com/docs/message-formatting#message_formatting -
link
https://api.slack.com/docs/message-formatting#linking_to_urls -
linkName
https://api.slack.com/docs/message-formatting#linking_to_channels_and_users- Parameters:
name- of user or channel
-