Class KeptForeverDetail

java.lang.Object
jenkins.model.details.Detail
jenkins.model.details.KeptForeverDetail
All Implemented Interfaces:
ModelObject, IconSpec

public class KeptForeverDetail extends Detail
Displays if the build is marked to be kept forever. Only shown if the build is kept forever.
  • Constructor Details

    • KeptForeverDetail

      public KeptForeverDetail(Run<?,?> run)
  • Method Details

    • getDisplayName

      public @Nullable String getDisplayName()
      Description copied from class: Detail
      Specified by:
      getDisplayName in interface ModelObject
      Overrides:
      getDisplayName in class Detail
    • getIconClassName

      public @Nullable String getIconClassName()
      Description copied from class: Detail
      Get the Icon class specification e.g. 'icon-notepad'.
      Note: do NOT include icon size specifications (such as 'icon-sm').
      Specified by:
      getIconClassName in interface IconSpec
      Overrides:
      getIconClassName in class Detail
      Returns:
      The Icon class specification e.g. 'icon-notepad'.