Class BuildTriggerBadgeProvider
java.lang.Object
org.jenkinsci.plugins.buildtriggerbadge.provider.BuildTriggerBadgeProvider
- All Implemented Interfaces:
ExtensionPoint
Extend this class to be able to define/override an association between a class and an icon. This will then add that icon as a badge in
the build history side panel.
Note : if many providers are found, the first one matching a given cause class will be used.
- Author:
- Baptiste Mathus
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionall()abstract StringprovideIcon(Cause cause) Should return the Jenkins Symbol or URL to the icon corresponding to the given cause.
-
Constructor Details
-
BuildTriggerBadgeProvider
public BuildTriggerBadgeProvider()
-
-
Method Details
-
provideIcon
Should return the Jenkins Symbol or URL to the icon corresponding to the given cause.- Returns:
- the symbol or URL of the icon for that cause, null if none provided.
-
all
-