Package jenkins.views
Class PartialHeader
- java.lang.Object
-
- jenkins.views.Header
-
- jenkins.views.PartialHeader
-
- All Implemented Interfaces:
ExtensionPoint
public abstract class PartialHeader extends Header
Header
that relies on core resources (images, CSS, JS, etc.) to perform partial replacements. Given this kind of header is not independent, compatibility should be managed by the specificHeader
compatibility header version value- See Also:
Header
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description PartialHeader()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract int
getSupportedHeaderVersion()
static void
incompatibleHeaders()
boolean
isCompatible()
Checks API compatibility of the header-
Methods inherited from class jenkins.views.Header
get, isAvailable, isEnabled
-
-
-
-
Method Detail
-
isCompatible
public final boolean isCompatible()
Description copied from class:Header
Checks API compatibility of the header- Specified by:
isCompatible
in classHeader
- Returns:
- if header is compatible
-
getSupportedHeaderVersion
public abstract int getSupportedHeaderVersion()
- Returns:
- the supported header version
-
incompatibleHeaders
@Initializer(after=JOB_LOADED, before=JOB_CONFIG_ADAPTED) public static void incompatibleHeaders()
-
-