Package jenkins.model

Class ModelObjectWithContextMenu.MenuItem

java.lang.Object
jenkins.model.ModelObjectWithContextMenu.MenuItem
Enclosing interface:
ModelObjectWithContextMenu

@ExportedBean public static class ModelObjectWithContextMenu.MenuItem extends Object
  • Field Details

    • url

      @Exported public String url
      Target of the link. This can start with '/', but it must not be a relative URL, since you cannot really tell which page this context menu is used.
    • displayName

      @Exported public String displayName
      Human readable caption of the menu item. Do not use HTML.
    • icon

      @Exported public String icon
      Optional URL to the icon image. Rendered as 24x24.
    • post

      @Exported public boolean post
      True to make a POST request rather than GET.
      Since:
      1.504
    • requiresConfirmation

      @Exported public boolean requiresConfirmation
      True to require confirmation after a click.
      Since:
      1.512
    • type

      The type of menu item
      Since:
      2.340
  • Constructor Details

    • MenuItem

      public MenuItem()
  • Method Details