Class IconLabelProvider

java.lang.Object
io.jenkins.plugins.analysis.core.model.StaticAnalysisLabelProvider
io.jenkins.plugins.analysis.core.model.IconLabelProvider
All Implemented Interfaces:
DescriptionProvider

public class IconLabelProvider extends StaticAnalysisLabelProvider
Provides icons that have the same name as the URL (or ID) of a tool.
Author:
Ullrich Hafner
  • Constructor Details

    • IconLabelProvider

      public IconLabelProvider(String id, String name)
      Creates a new label provider with the specified ID and name.
      Parameters:
      id - the ID (i.e., URL)
      name - the name of the tool
    • IconLabelProvider

      public IconLabelProvider(String id, String name, DescriptionProvider descriptionProvider)
      Creates a new label provider with the specified ID and name.
      Parameters:
      id - the ID (i.e., URL)
      name - the name of the tool
      descriptionProvider - provides additional descriptions for an issue
    • IconLabelProvider

      public IconLabelProvider(String id, String name, DescriptionProvider descriptionProvider, String iconName)
      Creates a new label provider with the specified ID and name.
      Parameters:
      id - the ID (i.e., URL)
      name - the name of the tool
      descriptionProvider - provides additional descriptions for an issue
      iconName - the unique name of the icon file
  • Method Details