Package jenkins.model

Interface Badgeable

All Known Implementing Classes:
AllView, ChangesTab, ConsoleTab, ListView, MyView, OverviewTab, OverviewTab, ProxyView, Tab, View

public interface Badgeable
Represents an entity that can display a Badge.

Implementations of this interface may provide a badge to be shown on an associated action or UI element. If no badge is provided, null may be returned.

Since:
2.532
  • Method Summary

    Modifier and Type
    Method
    Description
    default Badge
    A Badge shown on the action.
  • Method Details

    • getBadge

      @CheckForNull default Badge getBadge()
      A Badge shown on the action.
      Returns:
      badge or null if no badge should be shown.
      Since:
      2.532