Class ToggleSwitch

java.lang.Object
io.jenkins.plugins.designlibrary.UISample
io.jenkins.plugins.designlibrary.ToggleSwitch
All Implemented Interfaces:
ExtensionPoint, Action, Describable<UISample>, ModelObject

@Extension public class ToggleSwitch extends UISample
  • Constructor Details

    • ToggleSwitch

      public ToggleSwitch()
  • Method Details

    • getDisplayName

      @NonNull public String getDisplayName()
      Description copied from class: UISample
      Gets the default display name for the UI sample. This is typically the simple class name of the implementing class.
      Specified by:
      getDisplayName in interface Action
      Specified by:
      getDisplayName in interface ModelObject
      Overrides:
      getDisplayName in class UISample
      Returns:
      the display name.
    • getIconFileName

      public String getIconFileName()
    • getDescription

      public String getDescription()
      Description copied from class: UISample
      Provides a description for the UI sample. The description is displayed at the top of every UI page for the sample.
      Specified by:
      getDescription in class UISample
      Returns:
      the description of the UI sample.