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 classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
Nested classes/interfaces inherited from interface jenkins.model.ModelObjectWithContextMenu
ModelObjectWithContextMenu.ContextMenu, ModelObjectWithContextMenu.ContextMenuVisibility, ModelObjectWithContextMenu.MenuItem, ModelObjectWithContextMenu.MenuItemType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondoChildrenContextMenu
(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) doContextMenu
(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse 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, getUrlName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface jenkins.model.ModelObjectWithChildren
doChildrenContextMenu
Methods inherited from interface jenkins.model.ModelObjectWithContextMenu
doContextMenu
-
Constructor Details
-
Links
public Links()
-
-
Method Details
-
getIconFileName
- Specified by:
getIconFileName
in interfaceAction
-
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 classUISample
- Returns:
- the description of the UI sample.
-
getCategory
Description copied from class:UISample
Retrieves the category of this UI sample. Defaults toCategory.COMPONENT
.- Overrides:
getCategory
in classUISample
- Returns:
- the category of the UI sample.
-
doContextMenu
public ModelObjectWithContextMenu.ContextMenu doContextMenu(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) throws Exception This method is called via AJAX to obtain the context menu for this model object.- Specified by:
doContextMenu
in interfaceModelObjectWithContextMenu
- Throws:
Exception
-
doChildrenContextMenu
public ModelObjectWithContextMenu.ContextMenu doChildrenContextMenu(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) throws Exception - Specified by:
doChildrenContextMenu
in interfaceModelObjectWithChildren
- Throws:
Exception
-