Package jenkins.views
Class Header
java.lang.Object
jenkins.views.Header
- All Implemented Interfaces:
- ExtensionPoint
- Direct Known Subclasses:
- FullHeader,- PartialHeader
Extension point that provides capabilities to render a specific header.
 Extend 
PartialHeader or FullHeader depending on the use case.
 The default Jenkins header is provided as an implementation of a FullHeader
 named JenkinsHeader.
 The first header located will be used, set the ordinal field on Extension to have a higher priority.
 The header content will be injected inside the pageHeader.jelly, based on the header
 retrieved by the get() method. That header content will be provided
 inside a resource called headerContent.jelly. It performs a full replacement
 of the header.- Since:
- 2.323
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from interface hudson.ExtensionPointExtensionPoint.LegacyInstancesAreScopedToHudson
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
Headerpublic Header()
 
- 
- 
Method Details- 
isAvailablepublic boolean isAvailable()Checks if header is available- Returns:
- if header is available
 
- 
isCompatiblepublic abstract boolean isCompatible()Checks API compatibility of the header- Returns:
- if header is compatible
 
- 
isEnabledpublic abstract boolean isEnabled()Checks if header is enabled.- Returns:
- if header is enabled
 
- 
get
- 
getActions- Returns:
- a list of Actionto show in the header. The default implementation returns anJenkins.getActions()that should be displayed (ie have an icon).
 
 
-