Package io.jenkins.plugins.prism
Klasse PrismAppearanceConfiguration
java.lang.Object
hudson.model.Descriptor<GlobalConfiguration>
jenkins.model.GlobalConfiguration
io.jenkins.plugins.util.GlobalConfigurationItem
io.jenkins.plugins.prism.PrismAppearanceConfiguration
- Alle implementierten Schnittstellen:
ExtensionPoint,Describable<GlobalConfiguration>,Saveable,OnMaster
@Extension
@Symbol("prism")
public class PrismAppearanceConfiguration
extends io.jenkins.plugins.util.GlobalConfigurationItem
Global system configuration for Prism. These configuration options are used globally for all jobs and require
administrator permissions.
The following settings can be configured:
- Theme: Prism supports several themes that can be used to adapt the look and feel. You can configure the default theme that is used for all Jenkins jobs.
- Autor:
- Ullrich Hafner
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.SelfVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Feldübersicht
Von Klasse geerbte Felder hudson.model.Descriptor
clazz -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCreates the global configuration and loads the initial values from the corresponding XML file. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns all available themes.static PrismAppearanceConfigurationReturns the singleton instance of thisPrismAppearanceConfiguration.getTheme()voidsetTheme(PrismTheme theme) Sets the active theme to be used when rendering the source code with prism.Von Klasse geerbte Methoden io.jenkins.plugins.util.GlobalConfigurationItem
clearRepeatableProperties, configure, load, readResolve, saveVon Klasse geerbte Methoden jenkins.model.GlobalConfiguration
all, getDescriptor, getGlobalConfigPageVon Klasse geerbte Methoden hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, self, toArray, toList, toMap
-
Konstruktordetails
-
PrismAppearanceConfiguration
public PrismAppearanceConfiguration()Creates the global configuration and loads the initial values from the corresponding XML file.
-
-
Methodendetails
-
getCategory
- Setzt außer Kraft:
getCategoryin KlasseDescriptor<GlobalConfiguration>
-
getInstance
Returns the singleton instance of thisPrismAppearanceConfiguration.- Gibt zurück:
- the singleton instance
-
setTheme
Sets the active theme to be used when rendering the source code with prism.- Parameter:
theme- the theme to use
-
getTheme
-
doFillThemeItems
Returns all available themes.- Gibt zurück:
- a model with all available themes
-