Extension Points defined in Branch API Plugin

This site is the new docs site currently being tested. For the actual docs in use please go to https://www.jenkins.io/doc.

BranchBuildStrategy

jenkinsdoc:branch-api:jenkins.branch.BranchBuildStrategy]

An extension point that allows controlling whether a specific jenkinsdoc:SCMHead] should be automatically built when discovered.

Methods marked as {@code SPI:} are intended to be implemented by implementers of jenkinsdoc:BranchBuildStrategy] . Methods marked as {@code API:} are intended to be invoked consumers of jenkinsdoc:BranchBuildStrategy] . A consumer invoking a {@code SPI:} method may get a jenkinsdoc:UnsupportedOperationException] . Methods marked as {@code SPI:} are only to be invoked through the API methods in order to allow safe evolution. Changing the API may require updating any SPI implementations that are also API consumers, specifically the Any, All and None implementations in basic-branch-build-strategies</p>

Implementations:

BranchProjectFactory

jenkinsdoc:branch-api:jenkins.branch.BranchProjectFactory]

Creates instances of the branch projects for a specific jenkinsdoc:Branch] and also provides some utility methods for updating the branch specific projects.

Implementations:

BranchProperty

jenkinsdoc:branch-api:jenkins.branch.BranchProperty]

Additional information associated with jenkinsdoc:Branch] .

jenkinsdoc:jenkins.scm.api.SCMSource] s can use properties to convey additional implementation/SCM specific information that's not captured in the base jenkinsdoc:Branch] class.</p>

Implementations:

BranchPropertyStrategy

jenkinsdoc:branch-api:jenkins.branch.BranchPropertyStrategy]

A strategy for determining the properties that apply to a specific jenkinsdoc:SCMHead] .

Implementations:

MultiBranchProjectFactory

jenkinsdoc:branch-api:jenkins.branch.MultiBranchProjectFactory]

Creates jenkinsdoc:MultiBranchProject] s for repositories where recognized.

Implementations:

PropertyMigration

jenkinsdoc:branch-api:jenkins.branch.PropertyMigration]

An extension point that captures the need for a complex migration of a folder property into some other configuration of the containing folder.

Implementations:

PropertyMigration.Migrator

jenkinsdoc:branch-api:jenkins.branch.PropertyMigration.Migrator]

This extension point has no Javadoc documentation.

Implementations: