Package io.jenkins.plugins.designlibrary
Class Links
java.lang.Object
io.jenkins.plugins.designlibrary.UISample
io.jenkins.plugins.designlibrary.Links
- All Implemented Interfaces:
ExtensionPoint,Action,Describable<UISample>,ModelObject,ModelObjectWithChildren,ModelObjectWithContextMenu
@Extension
public class Links
extends UISample
implements ModelObjectWithContextMenu, ModelObjectWithChildren
- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudsonNested classes/interfaces inherited from interface jenkins.model.ModelObjectWithContextMenu
ModelObjectWithContextMenu.ContextMenu, ModelObjectWithContextMenu.ContextMenuVisibility, ModelObjectWithContextMenu.MenuItem, ModelObjectWithContextMenu.MenuItemType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoChildrenContextMenu(org.kohsuke.stapler.StaplerRequest2 request, org.kohsuke.stapler.StaplerResponse2 response) doContextMenu(org.kohsuke.stapler.StaplerRequest2 request, org.kohsuke.stapler.StaplerResponse2 response) This method is called via AJAX to obtain the context menu for this model object.Retrieves the category of this UI sample.Provides a description for the UI sample.Methods inherited from class io.jenkins.plugins.designlibrary.UISample
getAll, getDescriptor, getDisplayName, getGrouped, getNextPage, getPreviousPage, getPrismConfiguration, getSince, getUrlNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jenkins.model.ModelObjectWithChildren
doChildrenContextMenuMethods inherited from interface jenkins.model.ModelObjectWithContextMenu
doContextMenu
-
Constructor Details
-
Links
public Links()
-
-
Method Details
-
getIconFileName
- Specified by:
getIconFileNamein interfaceAction
-
getDescription
Description copied from class:UISampleProvides a description for the UI sample. The description is displayed at the top of every UI page for the sample.- Specified by:
getDescriptionin classUISample- Returns:
- the description of the UI sample.
-
getCategory
Description copied from class:UISampleRetrieves the category of this UI sample. Defaults toCategory.COMPONENT.- Overrides:
getCategoryin classUISample- Returns:
- the category of the UI sample.
-
doContextMenu
public ModelObjectWithContextMenu.ContextMenu doContextMenu(org.kohsuke.stapler.StaplerRequest2 request, org.kohsuke.stapler.StaplerResponse2 response) throws Exception This method is called via AJAX to obtain the context menu for this model object.- Specified by:
doContextMenuin interfaceModelObjectWithContextMenu- Throws:
Exception
-
doChildrenContextMenu
public ModelObjectWithContextMenu.ContextMenu doChildrenContextMenu(org.kohsuke.stapler.StaplerRequest2 request, org.kohsuke.stapler.StaplerResponse2 response) throws Exception - Specified by:
doChildrenContextMenuin interfaceModelObjectWithChildren- Throws:
Exception
-