Class Emojis

java.lang.Object
jenkins.plugins.foldericon.Emojis

public final class Emojis extends Object
Utility to work with emojis provided by the custom-folder-icon-plugin.
Author:
strangelookingnerd
  • Method Details

    • getIconClassName

      public static String getIconClassName(String emoji)
      Takes an emoji name and generates an icon class name from it.
      Parameters:
      emoji - the emoji name
      Returns:
      the icon class name
    • getAvailableIcons

      public static Map<String,String> getAvailableIcons()
      Get all available icons provided by the custom-folder-icon-plugin.
      Returns:
      a sorted map of available emojis with emoji name as key and the icon class name as value.
    • getAvailableEmojis

      public static Map<String,String> getAvailableEmojis()
      Get all available emojis provided by the custom-folder-icon-plugin.
      Returns:
      a sorted map of available emojis with emoji name as key and the actual unicode emoji as value.