Extension Points defined in SCM API Plugin

SCMEventListener

jenkinsdoc:scm-api:jenkins.scm.api.SCMEventListener]

Base class for listeners to jenkinsdoc:SCMEvent] s

Implementations:

SCMFileSystem.Builder

jenkinsdoc:scm-api:jenkins.scm.api.SCMFileSystem.Builder]

Extension point that allows different plugins to implement jenkinsdoc:SCMFileSystem] classes for the same jenkinsdoc:SCM] or jenkinsdoc:SCMSource] and let Jenkins pick the most capable for any specific jenkinsdoc:SCM] implementation.

Implementations:

SCMHead.HeadByItem

jenkinsdoc:scm-api:jenkins.scm.api.SCMHead.HeadByItem]

Means of locating a head given an item.

Implementations:

SCMHeadMigration

jenkinsdoc:scm-api:jenkins.scm.api.SCMHeadMigration]

If a jenkinsdoc:SCMSource] plugin needs to migrate the implementation classes for jenkinsdoc:SCMHead] this extension point allows the plugin to register type migrations. For speed of migration implementations should just jump directly to the final end-point and not expect recursive chain walking.

Implementations:

SCMNavigator

jenkinsdoc:scm-api:jenkins.scm.api.SCMNavigator]

An API for discovering new and navigating already discovered jenkinsdoc:SCMSource] s within an organization. An implementation does not need to cache existing discoveries, but some form of caching is strongly recommended where the backing provider of repositories has a rate limiter on API calls.

Implementations:

SCMNavigatorOwners

jenkinsdoc:scm-api:jenkins.scm.api.SCMNavigatorOwners]

Provides a means to lookup the jenkinsdoc:SCMNavigatorOwners] that own jenkinsdoc:SCMNavigatorOwner] instances.

Implementations:

(no known implementations)

SCMNavigatorOwners.Enumerator

jenkinsdoc:scm-api:jenkins.scm.api.SCMNavigatorOwners.Enumerator]

Extension point to allow for access to embedded jenkinsdoc:SCMSourceOwner] instances that jenkinsdoc:SCMNavigatorOwners.JenkinsItemEnumerator] will not find.

Implementations:

SCMSource

jenkinsdoc:scm-api:jenkins.scm.api.SCMSource]

A jenkinsdoc:SCMSource] is responsible for fetching jenkinsdoc:SCMHead] and corresponding jenkinsdoc:SCMRevision] instances from which it can build jenkinsdoc:SCM] instances that are configured to check out the specific jenkinsdoc:SCMHead] at the specified jenkinsdoc:SCMRevision] .

Implementations:

SCMSource.SourceByItem

jenkinsdoc:scm-api:jenkins.scm.api.SCMSource.SourceByItem]

Means of locating a head given an item.

Implementations:

SCMSourceOwners

jenkinsdoc:scm-api:jenkins.scm.api.SCMSourceOwners]

Provides a means to lookup the jenkinsdoc:SCMSourceOwners] that own jenkinsdoc:SCMSource] instances.

Implementations:

(no known implementations)

SCMSourceOwners.Enumerator

jenkinsdoc:scm-api:jenkins.scm.api.SCMSourceOwners.Enumerator]

Extension point to allow for access to embedded jenkinsdoc:SCMSourceOwner] instances that jenkinsdoc:SCMSourceOwners.JenkinsItemEnumerator] will not find.

Implementations:

SCMTrait

jenkinsdoc:scm-api:jenkins.scm.api.trait.SCMTrait]

Base class for common traits.

Implementations: