Class ConfirmationEvent

java.lang.Object
jenkins.model.menu.event.ConfirmationEvent
All Implemented Interfaces:
Event

@ExportedBean @Restricted(org.kohsuke.accmod.restrictions.Beta.class) public final class ConfirmationEvent extends Object implements Event
When clicked, a dialog will pop up for confirmation. e.g. Delete item.
  • Method Details

    • of

      public static ConfirmationEvent of(String title, String description, String postTo)
      Created a confirmation event.
      Parameters:
      title - title of the dialog
      description - additional contextual information about what is being confirmed.
      postTo - url that it should be submitted to, e.g. deleteItem
    • getTitle

      @Exported public String getTitle()
    • getDescription

      @Exported public String getDescription()
    • getPostTo

      @Exported public String getPostTo()