Class HeaderRootAction
java.lang.Object
io.jenkins.plugins.customizable_header.HeaderRootAction
- All Implemented Interfaces:
ExtensionPoint
,Action
,ModelObject
,RootAction
,UnprotectedRootAction
Allows to access the css for anonymous users.
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.kohsuke.stapler.HttpResponse
doAddSystemMessage
(String message, String level, String expireDate, String id) void
void
doDismissMessage
(String uid) io.jenkins.plugins.customizable_header.HeaderRootAction.Links
getColor()
boolean
hasLinks()
boolean
-
Constructor Details
-
HeaderRootAction
public HeaderRootAction()
-
-
Method Details
-
getIconFileName
- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
- Specified by:
getUrlName
in interfaceAction
-
getBackgroundColor
-
getHoverColor
-
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
- Throws:
IOException
-
doGetLinks
@GET public io.jenkins.plugins.customizable_header.HeaderRootAction.Links doGetLinks() throws Exception- Throws:
Exception
-