Package io.jenkins.plugins.fontawesome
Class FontAwesomeIcons
java.lang.Object
io.jenkins.plugins.fontawesome.FontAwesomeIcons
Utility to work with icons provided by the font-awesome-api-plugin.
- Author:
- strangelookingnerd
-
Method Summary
Modifier and TypeMethodDescriptionGet all available icons provided by the font-awesome-api-plugin.Get all available icons provided by the font-awesome-api-plugin filtered by their style.static String
getIconClassName
(String icon) Takes an icon name and generates an icon class name from it.
-
Method Details
-
getIconClassName
Takes an icon name and generates an icon class name from it.- Parameters:
icon
- the icon name- Returns:
- the icon class name
-
getAvailableIcons
Get all available icons provided by the font-awesome-api-plugin.- Returns:
- a sorted map of available icons with icon name as key and the icon class name as value.
-
getAvailableIcons
Get all available icons provided by the font-awesome-api-plugin filtered by their style.- Parameters:
filter
- the style to filter- Returns:
- a sorted map of available icons with icon name as key and the icon class name as value filtered by the given style.
-