Klasse FontAwesomeIcons

java.lang.Object
io.jenkins.plugins.fontawesome.FontAwesomeIcons

public final class FontAwesomeIcons extends Object
Utility to work with icons provided by the font-awesome-api-plugin.
Autor:
strangelookingnerd
  • Methodendetails

    • getIconClassName

      public static String getIconClassName(String icon)
      Takes an icon name and generates an icon class name from it.
      Parameter:
      icon - the icon name
      Gibt zurück:
      the icon class name
    • getAvailableIcons

      public static Map<String,String> getAvailableIcons()
      Get all available icons provided by the font-awesome-api-plugin.
      Gibt zurück:
      a sorted map of available icons with icon name as key and the icon class name as value.
    • getAvailableIcons

      public static Map<String,String> getAvailableIcons(@CheckForNull SvgTag.FontAwesomeStyle filter)
      Get all available icons provided by the font-awesome-api-plugin filtered by their style.
      Parameter:
      filter - the style to filter
      Gibt zurück:
      a sorted map of available icons with icon name as key and the icon class name as value filtered by the given style.