@Extension @Symbol(value="themeManager") @Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public class ThemeManagerPageDecorator extends PageDecorator
Descriptor.FormException, Descriptor.PropertyType, Descriptor.SelfExtensionPoint.LegacyInstancesAreScopedToHudsonALLclazz| Constructor and Description |
|---|
ThemeManagerPageDecorator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
static ThemeManagerPageDecorator |
get() |
String |
getHeaderHtml()
Get the complete header HTML for all configured theme elements.
|
ThemeManagerFactory |
getTheme() |
boolean |
isDisableUserThemes() |
void |
setDisableUserThemes(boolean disableUserThemes) |
void |
setTheme(ThemeManagerFactory theme) |
boolean |
shouldInjectCss()
Filter to only inject CSS into "normal" Jenkins pages.
|
all, getDescriptor, getUrladdHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, 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 static ThemeManagerPageDecorator get()
public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
configure in class Descriptor<PageDecorator>@DataBoundSetter public void setTheme(ThemeManagerFactory theme)
public ThemeManagerFactory getTheme()
public boolean isDisableUserThemes()
@DataBoundSetter public void setDisableUserThemes(boolean disableUserThemes)
public String getHeaderHtml()
public boolean shouldInjectCss()
Copyright © 2016–2020. All rights reserved.