Klasse LabelProviderFactory

java.lang.Object
io.jenkins.plugins.analysis.core.model.LabelProviderFactory

public class LabelProviderFactory extends Object
Creates StaticAnalysisLabelProvider instances based on a provided ID and name.
Autor:
Ullrich Hafner
  • Konstruktordetails

    • LabelProviderFactory

      public LabelProviderFactory()
      Creates a new instance of LabelProviderFactory.
  • Methodendetails

    • create

      public StaticAnalysisLabelProvider create(String id)
      Finds the label provider for the static analysis tool with the specified ID.
      Parameter:
      id - the ID of the tool to find
      Gibt zurück:
      The label provider of the selected static analysis tool. If the tool is not found then a default label provider is returned.
    • create

      public StaticAnalysisLabelProvider create(String id, @CheckForNull String name)
      Finds the label provider for the static analysis tool with the specified ID.
      Parameter:
      id - the ID of the tool to find
      name - the name of the tool (might be empty or null)
      Gibt zurück:
      The label provider of the selected static analysis tool. If the tool is not found then a default label provider is returned.