Package io.jenkins.plugins.designlibrary
Class UISample
java.lang.Object
io.jenkins.plugins.designlibrary.UISample
- All Implemented Interfaces:
ExtensionPoint
,Action
,Describable<UISample>
,ModelObject
- Direct Known Subclasses:
AppBar
,Banner
,Buttons
,Cards
,Checkboxes
,Colors
,Dialogs
,File
,Inputs
,JavaScriptProxy
,Layouts
,Links
,Menu
,Notifications
,Progress
,Radios
,RepeatableList
,Select
,Spacing
,Stylesheets
,Symbols
,Table
,ToggleSwitch
,Tooltips
,Validation
public abstract class UISample
extends Object
implements ExtensionPoint, Action, Describable<UISample>
- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAll()
Retrieves the category of this UI sample.abstract String
Provides a description for the UI sample.Gets the default display name for the UI sample.io.jenkins.plugins.prism.PrismConfiguration
getSince()
Gets the version of Jenkins where this UI sample was introduced.Gets the URL-friendly name of the UI sample.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface hudson.model.Action
getIconFileName
-
Constructor Details
-
UISample
public UISample()
-
-
Method Details
-
getUrlName
Gets the URL-friendly name of the UI sample. Converts the display name to lowercase and replaces spaces with dashes.- Specified by:
getUrlName
in interfaceAction
- Returns:
- a URL-friendly string representation of the display name.
-
getDisplayName
Gets the default display name for the UI sample. This is typically the simple class name of the implementing class.- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
- Returns:
- the display name.
-
getCategory
Retrieves the category of this UI sample. Defaults toCategory.COMPONENT
.- Returns:
- the category of the UI sample.
-
getDescription
Provides a description for the UI sample. The description is displayed at the top of every UI page for the sample.- Returns:
- the description of the UI sample.
-
getSince
Gets the version of Jenkins where this UI sample was introduced. By default, returns null if version information is irrelevant.- Returns:
- the version as a string, or null if irrelevant.
-
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<UISample>
-
getPrismConfiguration
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public io.jenkins.plugins.prism.PrismConfiguration getPrismConfiguration() -
getAll
-
getGrouped
-
getPreviousPage
-
getNextPage
-