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,EmptyStates,File,Inputs,JavaScriptProxy,Layouts,Links,Localization,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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAll()Retrieves the category of this UI sample.abstract StringProvides a description for the UI sample.Gets the default display name for the UI sample.io.jenkins.plugins.prism.PrismConfigurationgetSince()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, waitMethods 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:
getUrlNamein 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:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein 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:
getDescriptorin interfaceDescribable<UISample>
-
getPrismConfiguration
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public io.jenkins.plugins.prism.PrismConfiguration getPrismConfiguration() -
getAll
-
getGrouped
-
getPreviousPage
-
getNextPage
-