Package io.jenkins.plugins.emoji.symbols
Class Emojis
java.lang.Object
io.jenkins.plugins.emoji.symbols.Emojis
Utility to work with emojis provided by the emoji-symbols-api-plugin.
-
Method Summary
Modifier and TypeMethodDescriptionGet all available emojis provided by the emoji-symbols-api-plugin.Get all available icons provided by the emoji-symbols-api-plugin.static String
getIconClassName
(String emoji) Takes an emoji name and generates an icon class name from it.
-
Method Details
-
getIconClassName
Takes an emoji name and generates an icon class name from it.- Parameters:
emoji
- the emoji name- Returns:
- the icon class name
-
getAvailableIcons
Get all available icons provided by the emoji-symbols-api-plugin.- Returns:
- a sorted map of available emojis with emoji name as key and the icon class name as value.
-
getAvailableEmojis
Get all available emojis provided by the emoji-symbols-api-plugin.- Returns:
- a sorted map of available emojis with emoji name as key and the actual Unicode emoji as value.
-