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
  • Constructor Details

    • CustomHeaderConfiguration

      @DataBoundConstructor public CustomHeaderConfiguration()
  • Method Details

    • getCategory

      @NonNull public GlobalConfigurationCategory getCategory()
      Overrides:
      getCategory in class Descriptor<GlobalConfiguration>
    • configure

      public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) throws Descriptor.FormException
      Overrides:
      configure in class GlobalConfiguration
      Throws:
      Descriptor.FormException
    • readResolve

      public Object readResolve()
    • getFavorites

      public List<AppNavLink> getFavorites()
    • getSystemMessage

      @Deprecated public SystemMessage getSystemMessage()
      Deprecated.
    • setSystemMessage

      @Deprecated @DataBoundSetter public void setSystemMessage(SystemMessage systemMessage)
      Deprecated.
    • getSystemMessages

      public List<SystemMessage> getSystemMessages()
    • setSystemMessages

      @DataBoundSetter public void setSystemMessages(List<SystemMessage> systemMessages)
    • addSystemMessage

      public void addSystemMessage(SystemMessage message)
    • deleteSystemMessage

      public void deleteSystemMessage(String id)
    • getLinks

      public List<AbstractLink> getLinks()
    • setLinks

      @DataBoundSetter public void setLinks(List<AbstractLink> links)
    • hasLinks

      public boolean hasLinks()
    • getUserLinks

      public List<AbstractLink> getUserLinks()
    • isThinHeader

      public boolean isThinHeader()
    • setThinHeader

      @DataBoundSetter public void setThinHeader(boolean thinHeader)
    • setHeader

      @DataBoundSetter public void setHeader(HeaderSelector header)
    • getHeader

      public HeaderSelector getHeader()
    • setEnabled

      @DataBoundSetter public void setEnabled(boolean enabled)
    • isEnabled

      public boolean isEnabled()
    • setLogo

      @DataBoundSetter public void setLogo(Logo logo)
    • getLogo

      public Logo getLogo()
    • setHeaderColor

      @DataBoundSetter public void setHeaderColor(HeaderColor headerColor)
    • getHeaderColor

      public HeaderColor getHeaderColor()
      The globally configured Headercolor.
      Returns:
      global headercolor.
    • getActiveHeaderColor

      public HeaderColor getActiveHeaderColor()
      The active header color. If the user has overwritten the colors those colors are used.
      Returns:
    • getActiveHeader

      public HeaderSelector getActiveHeader()
    • setLogoText

      @DataBoundSetter public void setLogoText(String logoText)
    • getLogoText

      public String getLogoText()
    • get

      public static CustomHeaderConfiguration get()
    • getTitle

      public String getTitle()
    • setTitle

      @DataBoundSetter public void setTitle(String title)
    • getCssResource

      public String getCssResource()
    • setCssResource

      @DataBoundSetter public void setCssResource(String cssResource)
    • getCssResourceUrl

      public String getCssResourceUrl()
    • defaultLogo

      public Logo defaultLogo()
    • getLogoDescriptors

      public List<Descriptor<Logo>> getLogoDescriptors()