Class BuildTriggerBadgeDeactivator

java.lang.Object
org.jenkinsci.plugins.buildtriggerbadge.provider.BuildTriggerBadgeDeactivator
All Implemented Interfaces:
ExtensionPoint

public abstract class BuildTriggerBadgeDeactivator extends Object implements ExtensionPoint
Extend this class if you want to be able to disable the badge for a given cause globally.
Author:
Baptiste Mathus
  • Constructor Details

    • BuildTriggerBadgeDeactivator

      public BuildTriggerBadgeDeactivator()
  • Method Details

    • vetoBadge

      public abstract boolean vetoBadge(@NonNull Cause cause)
      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