Class HeaderRootAction

java.lang.Object
io.jenkins.plugins.customizable_header.HeaderRootAction
All Implemented Interfaces:
ExtensionPoint, Action, ModelObject, RootAction, UnprotectedRootAction

@Extension public class HeaderRootAction extends Object implements UnprotectedRootAction
Allows to access the css for anonymous users.
  • Constructor Details

    • HeaderRootAction

      public HeaderRootAction()
  • Method Details

    • getIconFileName

      public String getIconFileName()
      Specified by:
      getIconFileName in interface Action
    • getDisplayName

      public String getDisplayName()
      Specified by:
      getDisplayName in interface Action
      Specified by:
      getDisplayName in interface ModelObject
    • getUrlName

      public String getUrlName()
      Specified by:
      getUrlName in interface Action
    • getBackgroundColor

      public String getBackgroundColor()
    • getHoverColor

      public String getHoverColor()
    • getColor

      public String getColor()
    • isThinHeader

      public boolean isThinHeader()
    • hasLinks

      public boolean hasLinks()
    • doAddSystemMessage

      @POST public org.kohsuke.stapler.HttpResponse doAddSystemMessage(@QueryParameter(fixEmpty=true) String message, @QueryParameter(fixEmpty=true) String level, @QueryParameter String expireDate, @QueryParameter(fixEmpty=true) String id) throws IOException
      Throws:
      IOException
    • doDeleteSystemMessage

      @POST public void doDeleteSystemMessage(@QueryParameter(fixEmpty=true) String id) throws IOException
      Throws:
      IOException
    • doDismissMessage

      @POST public void doDismissMessage(@QueryParameter String uid) throws IOException
      Throws:
      IOException
    • doGetLinks

      @GET public io.jenkins.plugins.customizable_header.HeaderRootAction.Links doGetLinks() throws Exception
      Throws:
      Exception