Package jenkins.scm.api.mixin
Interface ChangeRequestSCMHead
- All Superinterfaces:
- Comparable<SCMHead>,- SCMHeadMixin,- Serializable
- All Known Subinterfaces:
- ChangeRequestSCMHead2
Mixin interface to identify 
SCMHead instances that correspond to a change request.- Since:
- 2.0
- 
Nested Class SummaryNested classes/interfaces inherited from interface jenkins.scm.api.mixin.SCMHeadMixinSCMHeadMixin.Equality
- 
Method SummaryMethods inherited from interface java.lang.ComparablecompareToMethods inherited from interface jenkins.scm.api.mixin.SCMHeadMixingetName, getOrigin
- 
Method Details- 
getIdIdentifier of this change request. Expected to be unique among requests coming from a givenSCMSource.- Returns:
- an ID of some kind, such as a pull request number (decimal) or a Gerrit change ID
 
- 
getTargetBranch to which this change would be merged or applied if it were accepted.- Returns:
- a "target" or "base" branch
 
 
-