Class CustomHeaderConfiguration
java.lang.Object
hudson.model.Descriptor<GlobalConfiguration>
jenkins.model.GlobalConfiguration
io.jenkins.plugins.customizable_header.CustomHeaderConfiguration
- All Implemented Interfaces:
ExtensionPoint,Describable<GlobalConfiguration>,Saveable,Loadable,OnMaster
@Extension
@Symbol("customHeader")
public class CustomHeaderConfiguration
extends GlobalConfiguration
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.SelfNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSystemMessage(SystemMessage message) booleanconfigure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject json) voidstatic CustomHeaderConfigurationget()The active header color.The globally configured Headercolor.getLinks()getLogo()Deprecated.getTitle()booleanbooleanhasLinks()booleanbooleanvoidsetContextAwareLogo(ContextAwareLogo contextAwareLogo) voidsetCssResource(String cssResource) voidsetEnabled(boolean enabled) voidsetHeader(HeaderSelector header) voidsetHeaderColor(HeaderColor headerColor) voidsetLinks(List<AbstractLink> links) voidvoidsetLogoText(String logoText) voidsetSystemMessage(SystemMessage systemMessage) Deprecated.voidsetSystemMessages(List<SystemMessage> systemMessages) voidsetThinHeader(boolean thinHeader) voidMethods inherited from class jenkins.model.GlobalConfiguration
all, configure, getDescriptor, getGlobalConfigPageMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, 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, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
CustomHeaderConfiguration
@DataBoundConstructor public CustomHeaderConfiguration()
-
-
Method Details
-
getCategory
- Overrides:
getCategoryin classDescriptor<GlobalConfiguration>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject json) throws Descriptor.FormException - Overrides:
configurein classGlobalConfiguration- Throws:
Descriptor.FormException
-
readResolve
-
getSystemMessage
Deprecated. -
setSystemMessage
Deprecated. -
getSystemMessages
-
setSystemMessages
-
addSystemMessage
-
deleteSystemMessage
-
getLinks
-
setLinks
-
hasContextLinks
public boolean hasContextLinks() -
hasLinks
public boolean hasLinks() -
isThinHeader
public boolean isThinHeader() -
setContextAwareLogo
-
getContextAwareLogo
-
setThinHeader
@DataBoundSetter public void setThinHeader(boolean thinHeader) -
setHeader
-
getHeader
-
setEnabled
@DataBoundSetter public void setEnabled(boolean enabled) -
isEnabled
public boolean isEnabled() -
setLogo
-
getLogo
-
getActiveLogo
-
setHeaderColor
-
getHeaderColor
The globally configured Headercolor.- Returns:
- global headercolor.
-
getActiveHeaderColor
The active header color. If the user has overwritten the colors those colors are used.- Returns:
- the active header color
-
getActiveHeader
-
setLogoText
-
getLogoText
-
get
-
getTitle
-
setTitle
-
getCssResource
-
setCssResource
-
getCssResourceUrl
-
getLogoDescriptors
-
getHeaderDescriptors
-