Package jenkins.scm.api
Class SCMHeadOrigin
java.lang.Object
jenkins.scm.api.SCMHeadOrigin
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- SCMHeadOrigin.Default,- SCMHeadOrigin.Fork
Represents the origin of a 
SCMHead.
 - For centralized version control systems, this will always be DEFAULT
- For distributed version control systems, the distributed nature allows for other origins. It is expected that
 SCMSourceimplementations that supportSCMHeadinstances coming from a different origin will solve the problem of describing the alternative origins by subclassingSCMHeadOriginappropriately (assumingSCMHeadOrigin.Forkis not applicable).
- For the centralized distributed version control systems such as GitHub, Bitbucket, etc there is
 a standard concept of a named SCMHeadOrigin.Fork.
- Since:
- 2.2.0
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final classThe default origin.static classA named fork.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method Summary