Package jenkins.scm.api
Class SCMSource.SourceByItem
- java.lang.Object
-
- jenkins.scm.api.SCMSource.SourceByItem
-
- All Implemented Interfaces:
ExtensionPoint
- Enclosing class:
- SCMSource
public abstract static class SCMSource.SourceByItem extends Object implements ExtensionPoint
Means of locating a head given an item.- Since:
- 2.0.1
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description SourceByItem()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static SCMSource
findSource(Item item)
Runs all registered implementations.abstract SCMSource
getSource(Item item)
Checks whether a given item corresponds to a particularSCMSource
.
-