@Restricted(value=org.kohsuke.accmod.restrictions.Beta.class) public abstract class ThemeManagerFactoryDescriptor extends Descriptor<ThemeManagerFactory>
ThemeManagerFactoryDescriptor.FormException, Descriptor.PropertyType, Descriptor.Selfclazz| Constructor and Description |
|---|
ThemeManagerFactoryDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
static DescriptorExtensionList<ThemeManagerFactory,ThemeManagerFactoryDescriptor> |
all()
All implementations of
ThemeManagerFactory and ThemeManagerFactoryDescriptor. |
ThemeManagerFactory |
getInstance() |
String |
getThemeCssSuffix()
Name of the theme resource file.
|
abstract String |
getThemeId()
A name for a theme plugin
|
String |
getThemeJsSuffix()
Name of the theme resource file.
|
String |
getThemeKey()
A unique key for a theme plugin
|
boolean |
isNamespaced()
If the theme's CSS will only be selected under the '[data-theme=theme-key]' selector
|
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic ThemeManagerFactory getInstance()
public abstract String getThemeId()
This should be all lower case and URL safe, i.e. 'dark', 'neo2'
The ID can be re-used inside of your plugin if you are serving multiple variations of the theme, i.e. 'Dark', 'Dark (System)' could both be 'dark'.
Used in generating URLs for Jenkins to find your theme files.
public String getThemeKey()
This should be all lower case and URL safe, i.e. 'dark-system', 'neo2'
Used in the html dataset namespace for the theme.
public boolean isNamespaced()
It will be served on all pages even if not activated, ensure all selectors are behind the dataset selector.
All new themes should be namespaced
public String getThemeCssSuffix()
Used in generating URLs for Jenkins to find your theme files.
public String getThemeJsSuffix()
Used in generating URLs for Jenkins to find your theme files.
public static DescriptorExtensionList<ThemeManagerFactory,ThemeManagerFactoryDescriptor> all()
ThemeManagerFactory and ThemeManagerFactoryDescriptor.Copyright © 2016–2022. All rights reserved.