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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.kohsuke.stapler.HttpResponse
void
void
doDismissMessage
(String uid) io.jenkins.plugins.customizable_header.HeaderRootAction.Links
doGetLinks
(String item) getColor()
boolean
boolean
boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface hudson.model.RootAction
getBadge, isPrimaryAction
-
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
-
isEnabled
public boolean isEnabled() -
isJenkinsHeader
public boolean isJenkinsHeader() -
getBackgroundColor
-
getColor
-
isThinHeader
public boolean isThinHeader() -
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, @QueryParameter(fixEmpty=true) Boolean dismissible) 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(@QueryParameter String item) throws Exception - Throws:
Exception
-