Class LabelProviderFactory
java.lang.Object
io.jenkins.plugins.analysis.core.model.LabelProviderFactory
Creates
StaticAnalysisLabelProvider
instances based on a provided ID and name.- Author:
- Ullrich Hafner
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Provides additionalStaticAnalysisLabelProvider
instances that are created dynamically. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionFinds the label provider for the static analysis tool with the specified ID.Finds the label provider for the static analysis tool with the specified ID.
-
Constructor Details
-
LabelProviderFactory
public LabelProviderFactory()Creates a new instance ofLabelProviderFactory
.
-
-
Method Details
-
create
Finds the label provider for the static analysis tool with the specified ID.- Parameters:
id
- the ID of the tool to find- Returns:
- The label provider of the selected static analysis tool. If the tool is not found then a default label provider is returned.
-
create
Finds the label provider for the static analysis tool with the specified ID.- Parameters:
id
- the ID of the tool to findname
- the name of the tool (might be empty or null)- Returns:
- The label provider of the selected static analysis tool. If the tool is not found then a default label provider is returned.
-