Class NoOpThemeManagerFactory.NoOpThemeManagerFactoryDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<ThemeManagerFactory>
-
- io.jenkins.plugins.thememanager.ThemeManagerFactoryDescriptor
-
- io.jenkins.plugins.thememanager.none.NoOpThemeManagerFactory.NoOpThemeManagerFactoryDescriptor
-
- Enclosing class:
- NoOpThemeManagerFactory
@Extension public static class NoOpThemeManagerFactory.NoOpThemeManagerFactoryDescriptor extends ThemeManagerFactoryDescriptor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
-
Field Summary
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description NoOpThemeManagerFactoryDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayName()
String
getThemeId()
A name for a theme pluginString
getThemeKey()
A unique key for a theme plugin-
Methods inherited from class io.jenkins.plugins.thememanager.ThemeManagerFactoryDescriptor
all, getInstance, getThemeCssSuffix, getThemeJsSuffix, isNamespaced
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, 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, toMap
-
-
-
-
Method Detail
-
getDisplayName
@NonNull public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<ThemeManagerFactory>
-
getThemeId
public String getThemeId()
Description copied from class:ThemeManagerFactoryDescriptor
A name for a theme pluginThis 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.
- Specified by:
getThemeId
in classThemeManagerFactoryDescriptor
- Returns:
- the theme ID.
-
getThemeKey
public String getThemeKey()
Description copied from class:ThemeManagerFactoryDescriptor
A unique key for a theme pluginThis should be all lower case and URL safe, i.e. 'dark-system', 'neo2'
Used in the html dataset namespace for the theme.
- Overrides:
getThemeKey
in classThemeManagerFactoryDescriptor
- Returns:
- the theme key
-
-