Class BuildTriggerBadgeDeactivator
java.lang.Object
org.jenkinsci.plugins.buildtriggerbadge.provider.BuildTriggerBadgeDeactivator
- All Implemented Interfaces:
ExtensionPoint
Extend this class if you want to be able to disable the badge for a given cause globally.
- Author:
- Baptiste Mathus
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionall()abstract booleanShould return true to disable a BuildTriggerBadge for a given cause.
-
Constructor Details
-
BuildTriggerBadgeDeactivator
public BuildTriggerBadgeDeactivator()
-
-
Method Details
-
vetoBadge
Should return true to disable a BuildTriggerBadge for a given cause.- Parameters:
cause- the cause whose disabling is in question.- Returns:
- true if the cause must not have a badge, else false.
-
all
-