Package jenkins.views
Class PartialHeader
- java.lang.Object
-
- jenkins.views.Header
-
- jenkins.views.PartialHeader
-
- All Implemented Interfaces:
ExtensionPoint
public abstract class PartialHeader extends Header
Headerthat 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 specificHeadercompatibility 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 intgetSupportedHeaderVersion()static voidincompatibleHeaders()booleanisCompatible()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:HeaderChecks API compatibility of the header- Specified by:
isCompatiblein 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()
-
-