Uses of Annotation Interface
hudson.Extension
Packages that use Extension
Package
Description
Server-side CLI commands for Hudson.
Code for supporting declarative CLI commands, which are annotated methods on model objects.
Beef up the plain text console output by adding HTML markup.
Core object model that are bound to URLs via stapler, rooted at
Jenkins.Code that monitors the health of agents
Jenkins's interface with source code management systems.
QuickSilver-like search/jump capability for better navigation around Jenkins.
Security-related code.
Code related to agents.
Built-in
Triggers that run periodically to kick a new build.Other miscellaneous utility code
Agent → controller security.
-
Uses of Extension in hudson
Modifier and TypeClassDescriptionclassShow "About Jenkins" link.static final classstatic classDiscovers components via sezpoz but instantiates them by using Guice.static final classAdministrativeMonitorthat checks if there are any plugins with cycle dependencies.static final classAdministrativeMonitorthat checks if there are any plugins that are deprecated.static final classAdministrativeMonitorthat informs the administrator about a required plugin update.static classclassstatic final classstatic classThis extension provides a Ping protocol that allows people to verify that theTcpSlaveAgentListeneris alive.Modifier and TypeFieldDescriptionstatic final PluginWrapper.PluginWrapperAdministrativeMonitorPluginWrapper.NOTICEModifier and TypeMethodDescriptionprotected doubleExtensionFinder.DefaultGuiceExtensionAnnotation.getOrdinal(Extension annotation) protected booleanExtensionFinder.DefaultGuiceExtensionAnnotation.isOptional(Extension annotation) -
Uses of Extension in hudson.cli
Classes in hudson.cli with annotations of type ExtensionModifier and TypeClassDescriptionclassclassBuilds a job, and optionally waits until its completion.classCancel previous quiet down Jenkins - preparation for a restartclassClears the build queueclassShows usage of CLI and commands.classMakes CLI HTTP fallback work with CSRF protection enabled (JENKINS-18114).classReconnect to a node or nodes.classcat/tail/head of the console output.classCopies a job from CLI.classCreates a new job by reading stdin as a configuration XML file.classclassclassDeletes builds records in a bulk.classCLI command, which deletes a job or multiple jobs.classCLI command, which deletes Jenkins nodes.classclassDisable one or more installed plugins.classCLI Command, which disconnects nodes.classEnables one or more installed plugins.classclassclassclassExecutes the specified groovy script.classExecutes Groovy shell.classShow the list of all commands.classInstalls a plugin either from a file, an URL, or from update center.classRetrieves a change list for the specified builds.classLists all jobs (in a specific view).classOutputs a list of installed plugins.classCLI Command, which puts the Jenkins node offline.classCLI Command, which moves the node to the online state.classQuiet down Jenkins - preparation for a restartclassReload everything from the file system.classReloads job from the disk.classclassPrints the current session ID number (that changes for every run) to allow clients to reliably wait for a restart.classclassclassclassclassclassRetrieves the current version.classCLI command, which waits till the node switches to the offline state.classCLI command, which waits till the node switches to the online state.classReport the current granted authorities -
Uses of Extension in hudson.cli.declarative
Classes in hudson.cli.declarative with annotations of type ExtensionModifier and TypeClassDescriptionclassDiscoverCLIMethods and register them asCLICommandimplementations. -
Uses of Extension in hudson.console
Classes in hudson.console with annotations of type ExtensionModifier and TypeClassDescriptionstatic classThis action makesConsoleAnnotatorFactoryinstances accessible via HTTP.static final classstatic classstatic classclassAnnotates URLs in the console output to hyperlink. -
Uses of Extension in hudson.diagnosis
Classes in hudson.diagnosis with annotations of type ExtensionModifier and TypeClassDescriptionclassPeriodically checks the disk usage ofJENKINS_HOME, and activateHudsonHomeDiskUsageMonitorif necessary.final classMonitors the disk usage ofJENKINS_HOME, and if it's almost filled up, warn the user.final classMonitors the memory usage of the system in OS specific way.classSome old descriptors apparently has the getId() method that's used in different ways and that's causing errors like JENKINS-8866, so detect and report that.classTracks whether any data structure changes were corrected when loading XML, that could be resaved to migrate that data to the new format.static classclassLooks out for a broken reverse proxy setup that doesn't rewrite the location header correctly.classIf Hudson is run with a lot of jobs but no views, suggest the user that they can create views.Fields in hudson.diagnosis with annotations of type ExtensionModifier and TypeFieldDescriptionstatic final SaveableListenerOldDataMonitor.changeListenerstatic final ItemListenerOldDataMonitor.itemDeleteListenerstatic final RunListener<Run> OldDataMonitor.runDeleteListener -
Uses of Extension in hudson.logging
Classes in hudson.logging with annotations of type Extension -
Uses of Extension in hudson.markup
Classes in hudson.markup with annotations of type Extension -
Uses of Extension in hudson.model
Classes in hudson.model with annotations of type ExtensionModifier and TypeClassDescriptionstatic final classstatic classstatic classstatic classstatic classDefault pinger - use Java built-in functionality.static classstatic classclassclassService for plugins to periodically retrieve update data files (like the one in the update center) through browsers.static classServes the combined list of environment variables available from this plugin.static classstatic classstatic final classclassScans the fingerprint database and remove old records that are no longer relevant.static classstatic classstatic final classstatic final classstatic classstatic classstatic classstatic classstatic final classstatic classPeriodically update the load statistics average.classAdds the "Manage Jenkins" link to the navigation bar.static final classstatic classstatic classstatic classstatic final classstatic classstatic final classScheduleQueue.save()call for near future once items change.static classDefault logic.static final classstatic classstatic classstatic classstatic classstatic final classAdministrativeMonitorthat checks if there's Jenkins update.classstatic final classstatic classResolve user ID from full namestatic classTries to verify if an ID is valid.classClean up old left-over workspaces from agents. -
Uses of Extension in hudson.model.queue
Classes in hudson.model.queue with annotations of type ExtensionModifier and TypeClassDescriptionstatic classConsiders currently running tasks and their completion. -
Uses of Extension in hudson.model.userproperty
Classes in hudson.model.userproperty with annotations of type ExtensionModifier and TypeClassDescriptionstatic classUser property related to account settings (e.g.static classUser interface related configurations (e.g.static classPer user feature flags (e.g.static classFor user properties that are not expected to be displayed, typically automatically configured by automated behavior, without direct user interaction.static classPreferences related configurations (e.g.static classSecurity related configurations (e.g.static classThis category is used when theUserPropertyDescriptorhas not implemented theUserPropertyDescriptor.getUserPropertyCategory()method (or the getUserPropertyCategoryAsString method for compatibility reason).static classInject the outer class configuration page into the sidenav and the request routing of the userstatic classInject the outer class configuration page into the sidenav and the request routing of the userstatic classInject the outer class configuration page into the sidenav and the request routing of the userstatic classInject the outer class configuration page into the sidenav and the request routing of the userstatic classInject the outer class configuration page into the sidenav and the request routing of the user -
Uses of Extension in hudson.node_monitors
Classes in hudson.node_monitors with annotations of type ExtensionModifier and TypeClassDescriptionstatic final classstatic classstatic classstatic classclassIfNodeMonitormarks the node as offline, we'll show this to the admin to get their attention.classWhen an agent is connected, redo the node monitoring.static classstatic classstatic class -
Uses of Extension in hudson.scm
Classes in hudson.scm with annotations of type Extension -
Uses of Extension in hudson.search
Classes in hudson.search with annotations of type Extension -
Uses of Extension in hudson.security
Classes in hudson.security with annotations of type ExtensionModifier and TypeClassDescriptionstatic final classstatic classclassSecurity configuration.static final classstatic final classstatic final classstatic final classDisplays "manage users" link in the system config ifHudsonPrivateSecurityRealmis in effect.static final classstatic classclassExpose the data needed for /whoAmI, so it can be exposed by Api. -
Uses of Extension in hudson.security.csrf
Classes in hudson.security.csrf with annotations of type ExtensionModifier and TypeClassDescriptionstatic final classclassShow the crumb configuration to the system config page. -
Uses of Extension in hudson.slaves
Classes in hudson.slaves with annotations of type ExtensionModifier and TypeClassDescriptionclassEstablish a periodic ping to keep connections betweenagentsand the main Jenkins node alive.classPeriodically checks the agents and try to reconnect dead agents.classMakes sure that connections to agents are alive, and if they are not, cut them off.static final classstatic classstatic classstatic classPeriodically invoke NodeProvisionersstatic classThe default strategy.static classstatic classstatic class -
Uses of Extension in hudson.tasks
Classes in hudson.tasks with annotations of type ExtensionModifier and TypeClassDescriptionstatic classstatic final classstatic final classstatic classstatic classstatic classstatic final classstatic final classstatic classstatic final classstatic class -
Uses of Extension in hudson.tasks._maven
Classes in hudson.tasks._maven with annotations of type ExtensionModifier and TypeClassDescriptionstatic final classstatic final classstatic final classstatic final class -
Uses of Extension in hudson.tools
Classes in hudson.tools with annotations of type ExtensionModifier and TypeClassDescriptionstatic classstatic classclassActually runs installations.static classstatic classstatic class -
Uses of Extension in hudson.triggers
Classes in hudson.triggers with annotations of type ExtensionModifier and TypeClassDescriptionstatic final classstatic classclassstatic classstatic classRuns every minute to checkTimerTriggerand schedules build. -
Uses of Extension in hudson.util
Classes in hudson.util with annotations of type ExtensionModifier and TypeClassDescriptionclassMakes sure that no other Hudson uses ourJENKINS_HOMEdirectory, to forestall the problem of running multiple instances of Hudson that point to the same data directory.static final class -
Uses of Extension in hudson.views
Classes in hudson.views with annotations of type ExtensionModifier and TypeClassDescriptionstatic classstatic classDeprecated.static classclassAdds the default view configuration to the system config page.static classstatic classstatic classstatic classstatic classstatic classDeprecated.ConfiguresViewsTabBarin the system configuration.static classstatic classstatic classConfiguresViewsTabBarin the system configuration.static class -
Uses of Extension in hudson.widgets
Classes in hudson.widgets with annotations of type ExtensionModifier and TypeClassDescriptionstatic final classstatic final class -
Uses of Extension in jenkins
Modifier and TypeClassDescriptionfinal classImplements a daily update check for update sites andDownloadService.Downloadables that are due.classInternationalization REST (ish) API.classSets a Jenkins specific user-agent HTTP header forHttpURLConnection. -
Uses of Extension in jenkins.agents
Classes in jenkins.agents with annotations of type ExtensionModifier and TypeClassDescriptionstatic classclassfinal class -
Uses of Extension in jenkins.appearance
Classes in jenkins.appearance with annotations of type ExtensionModifier and TypeClassDescriptionclassGlobal configuration of appearance configuration.class -
Uses of Extension in jenkins.cli
Classes in jenkins.cli with annotations of type ExtensionModifier and TypeClassDescriptionclassSafe Restart Jenkins - do not accept any new jobs and try to pause existing.class -
Uses of Extension in jenkins.cli.listeners
Classes in jenkins.cli.listeners with annotations of type ExtensionModifier and TypeClassDescriptionclassBasic default implementation ofCLIListenerthat just logs. -
Uses of Extension in jenkins.console
Classes in jenkins.console with annotations of type ExtensionModifier and TypeClassDescriptionclassAllows administrators to activate and sortConsoleUrlProviderextensions to set defaults for all users.static classstatic class -
Uses of Extension in jenkins.diagnosis
Classes in jenkins.diagnosis with annotations of type ExtensionModifier and TypeClassDescriptionclassFinds crash dump reports and show them in the UI.classExposeMemoryUsageMonitor.heapat the/hudson.diagnosis.MemoryUsageMonitor/heapURL. -
Uses of Extension in jenkins.diagnostics
Classes in jenkins.diagnostics with annotations of type ExtensionModifier and TypeClassDescriptionclassPerforms monitoring ofJenkinsInitMilestonestatus.static final classclassclassclassJenkins URL is required for a lot of operations in both core and plugins.classUnsecured Jenkins is, well, insecure.class -
Uses of Extension in jenkins.fingerprints
Classes in jenkins.fingerprints with annotations of type ExtensionModifier and TypeClassDescriptionclassDefault file system storage implementation for fingerprints.static classclassAllows configuring the settings of fingerprints. -
Uses of Extension in jenkins.formelementpath
Classes in jenkins.formelementpath with annotations of type Extension -
Uses of Extension in jenkins.health
Classes in jenkins.health with annotations of type ExtensionModifier and TypeClassDescriptionfinal classProvides a health check action for Jenkins. -
Uses of Extension in jenkins.install
Classes in jenkins.install with annotations of type ExtensionModifier and TypeClassDescriptionclassA Jenkins instance used during first-run to provide a limited set of services while initial installation is in progressFields in jenkins.install with annotations of type ExtensionModifier and TypeFieldDescriptionstatic final InstallStateInstallState.CONFIGURE_INSTANCEstatic final InstallStateInstallState.CREATE_ADMIN_USERCreating an admin user for an initial Jenkins install.static final InstallStateInstallState.DOWNGRADEDowngrade of an existing Jenkins install.static final InstallStateInstallState.INITIAL_PLUGINS_INSTALLINGNew Jenkins install.static final InstallStateInstallState.INITIAL_SECURITY_SETUPSecurity setup for a new Jenkins install.static final InstallStateInstallState.INITIAL_SETUP_COMPLETEDThe initial set up has been completedstatic final InstallStateInstallState.NEWNew Jenkins install.static final InstallStateInstallState.RESTARTRestart of an existing Jenkins install.static final InstallStateInstallState.RUNNINGAfter any setup / restart / etc.static final InstallStateInstallState.UNKNOWNNeed InstallState != NEW for tests by defaultstatic final InstallStateInstallState.UPGRADEUpgrade of an existing Jenkins install. -
Uses of Extension in jenkins.job
Classes in jenkins.job with annotations of type Extension -
Uses of Extension in jenkins.management
Classes in jenkins.management with annotations of type ExtensionModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclass -
Uses of Extension in jenkins.model
Classes in jenkins.model with annotations of type ExtensionModifier and TypeClassDescriptionclassList of configuredArtifactManagerFactorys.classServes files located in the/assetsclasspath directory via the Jenkins core ClassLoader.classBackground task actually running background build discarders.static classstatic classclassInform the admin about the migration.classEnvironmentContributorthat adds the basic set of environment variables that we've been exposing historically.classIn case there are no other implementations we will fallback to this implementation.classDefault User.CanonicalIdResolver to escape unsupported characters and generate user ID.classGlobal configuration UI for background build discardersclassRun build discarders on an individual job once a build is finalizedclassConfigures check interval for computer retention.static classSecurity related configurations.static classThis category represents the catch-all I-dont-know-what-category-it-is instance, used for thoseGlobalConfigurations that don't really deserve/need a separate category.classIncludeNodePropertyDescriptorconfigurations.classInclude config.jelly defined forPlugins.classConfigures the project naming strategy.classConfigures the system-default quiet period.classConfigures global SCM retry count default.static classstatic classstatic classstatic classstatic classclassStores the location of Jenkins (e-mail address and the HTTP URL.)static classclassAdds the configuration regarding building on the built-in node.static classstatic final classstatic final classDefault cache based on apermalinksfile in the build directory.static classstatic classstatic final classstatic final classstatic classstatic classstatic final classclassKeeps track of the uptime of Jenkins.Fields in jenkins.model with annotations of type ExtensionModifier and TypeFieldDescriptionstatic final Jenkins.DescriptorImplJenkins.DescriptorImpl.INSTANCE -
Uses of Extension in jenkins.model.details
Classes in jenkins.model.details with annotations of type Extension -
Uses of Extension in jenkins.model.experimentalflags
Classes in jenkins.model.experimentalflags with annotations of type ExtensionModifier and TypeClassDescriptionclassclassstatic final class -
Uses of Extension in jenkins.model.identity
Classes in jenkins.model.identity with annotations of type ExtensionModifier and TypeClassDescriptionclassA simple root action that exposes the public key to users so that they do not need to search for theX-Instance-Identityresponse header, also exposes the fingerprint of the public key so that people can verify a fingerprint of a master before connecting to it. -
Uses of Extension in jenkins.model.item_category
Classes in jenkins.model.item_category with annotations of type ExtensionModifier and TypeClassDescriptionstatic final classThe defaultItemCategory, if an item doesn't belong anywhere else, this is where it goes by default.classDesigned for project hierarchies with folders.classDesigned for projects with a self-contained configuration and history. -
Uses of Extension in jenkins.model.lazy
Classes in jenkins.model.lazy with annotations of type ExtensionModifier and TypeClassDescriptionstatic final classDefault factory if none other are installed.static final class -
Uses of Extension in jenkins.model.queue
Classes in jenkins.model.queue with annotations of type ExtensionModifier and TypeClassDescriptionclassAQueue.QueueDecisionHandlerthat blocks items being deleted from entering the queue. -
Uses of Extension in jenkins.monitor
Classes in jenkins.monitor with annotations of type ExtensionModifier and TypeClassDescriptionclassclass -
Uses of Extension in jenkins.mvn
Classes in jenkins.mvn with annotations of type ExtensionModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classclass -
Uses of Extension in jenkins.run
Classes in jenkins.run with annotations of type ExtensionModifier and TypeClassDescriptionclassclassclass -
Uses of Extension in jenkins.scm
Classes in jenkins.scm with annotations of type Extension -
Uses of Extension in jenkins.search
Classes in jenkins.search with annotations of type ExtensionModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic class -
Uses of Extension in jenkins.security
Classes in jenkins.security with annotations of type ExtensionModifier and TypeClassDescriptionclassJENKINS-22474: Makes API Token calls bypass CSRF protection to ease usagestatic final classclassChecks if the password given in the BASIC header matches the user's API token.classChecks if the password given in the BASIC header matches the user's actual password, as opposed to other pseudo-passwords like API tokens.static classStandard filter which can load whitelists and blacklists from plugins.static classStandard filter which pays attention to a system property.classclassAdds the 'X-Frame-Options' header to all web pages.static final classstatic classListen to the login success/failure event to persistGrantedAuthoritys properly.classShow theQueueItemAuthenticatorconfigurations on the system config page.static classfinal classConfigure the resource root URL, an alternative root URL to serve resources from to not need Content-Security-Policy headers, which mess with desired complex output.classProhibit requests to Jenkins coming through a resource domain URL configured withResourceDomainConfiguration, except anything going toResourceDomainRootAction.classRecommend use ofResourceDomainConfigurationto users with the system propertyhudson.model.DirectoryBrowserSupport.CSPset to overrideDirectoryBrowserSupport.DEFAULT_CSP_VALUE.classRoot action servingDirectoryBrowserSupportinstances on random URLs to support resource URLs (second domain).static classclassConfiguration for update site-provided warnings.classAdministrative monitor showing plugin/core warnings published by the configured update site to the user.final classCache layer forUserDetailslookup. -
Uses of Extension in jenkins.security.apitoken
Classes in jenkins.security.apitoken with annotations of type ExtensionModifier and TypeClassDescriptionclassConfiguration for the new token generation when a user is createdclassMonitor that the API Token are not generated by default without the user interaction.classMonitor that the API Token cannot be created for a user without existing legacy tokenclassMonitor the list of users that still have legacy token -
Uses of Extension in jenkins.security.csrf
Classes in jenkins.security.csrf with annotations of type ExtensionModifier and TypeClassDescriptionclassMonitor that the CSRF protection is enabled on the application. -
Uses of Extension in jenkins.security.s2m
Classes in jenkins.security.s2m with annotations of type ExtensionModifier and TypeClassDescriptionclassDeprecated.This class no longer has any effect.static classInstallsCallableDirectionCheckerto every channel.classDeprecated. -
Uses of Extension in jenkins.security.seed
Classes in jenkins.security.seed with annotations of type ExtensionModifier and TypeClassDescriptionstatic final classclassInject the user seed inside the session (when there is an existing request) as part of the re-authentication mechanism provided byHttpSessionContextIntegrationFilter2andUserSeedProperty. -
Uses of Extension in jenkins.security.stapler
Classes in jenkins.security.stapler with annotations of type ExtensionModifier and TypeClassDescriptionclassFill the list of getter methods that are whitelisted for Stapler Each item in the set are formatted to correspond exactly to whatFunction.getDisplayName()returns -
Uses of Extension in jenkins.slaves
Classes in jenkins.slaves with annotations of type ExtensionModifier and TypeClassDescriptionclassMatch the name against the agent name and route the incoming agent asSlave.classSingleton holder ofIOHubclassMaster-side implementation for JNLP4-connect protocol.classSingleton holder ofNioChannelHubstatic classDeprecated.class -
Uses of Extension in jenkins.slaves.restarter
Classes in jenkins.slaves.restarter with annotations of type ExtensionModifier and TypeClassDescriptionclassActual agent restart logic.classOn Unix, restart via exec-ing to itself.classWith winsw, restart via winsw -
Uses of Extension in jenkins.slaves.systemInfo
Classes in jenkins.slaves.systemInfo with annotations of type ExtensionModifier and TypeClassDescriptionclassclassclassclass -
Uses of Extension in jenkins.tasks
Classes in jenkins.tasks with annotations of type Extension -
Uses of Extension in jenkins.tasks.filters
Classes in jenkins.tasks.filters with annotations of type ExtensionModifier and TypeClassDescriptionclassConfiguration of the filter rules that are applied globally, after filtering which rule applies on which builder -
Uses of Extension in jenkins.tasks.filters.impl
Classes in jenkins.tasks.filters.impl with annotations of type Extension -
Uses of Extension in jenkins.telemetry
Classes in jenkins.telemetry with annotations of type ExtensionModifier and TypeClassDescriptionclassThis class stores a UUID identifying this instance for telemetry reporting to allow deduplication or merging of submitted records.static class -
Uses of Extension in jenkins.telemetry.impl
Classes in jenkins.telemetry.impl with annotations of type ExtensionModifier and TypeClassDescriptionclassclassCollect the value of various Java system properties describing the environment.classTelemetry implementation that gathers information about optional permissions.classclassTelemetry implementation gathering information about system properties.classTelemetry implementation gathering information about Stapler dispatch routes.classRecords approximations of when Jenkins was started and the current time, to allow for computation of uptime.classstatic final class -
Uses of Extension in jenkins.tools
Classes in jenkins.tools with annotations of type ExtensionModifier and TypeClassDescriptionclassclassGlobal configuration of tool locations and installers. -
Uses of Extension in jenkins.triggers
Classes in jenkins.triggers with annotations of type ExtensionModifier and TypeClassDescriptionstatic final classstatic classstatic final class -
Uses of Extension in jenkins.util
Classes in jenkins.util with annotations of type ExtensionModifier and TypeClassDescriptionclassBasic default implementation ofScriptListenerthat just logs.static final class -
Uses of Extension in jenkins.views
Classes in jenkins.views with annotations of type Extension -
Uses of Extension in jenkins.websocket
Classes in jenkins.websocket with annotations of type Extension -
Uses of Extension in jenkins.widgets
Classes in jenkins.widgets with annotations of type ExtensionModifier and TypeClassDescriptionstatic final classstatic final classstatic final classstatic final classstatic final classfinal classDeprecated.New widgets should provide aWidgetFactoryinstead of relying on this legacy lookup.