public interface ChangeRequestSCMHead2 extends ChangeRequestSCMHead
ChangeRequestSCMHeadthat should have been in the original mixin but we are not targeting Java 8 so we cannot add the default methods to the interface and must have an ugly
|Modifier and Type||Method and Description|
Returns the name of the actual head on the source control system which may or may not be different from
@NonNull ChangeRequestCheckoutStrategy getCheckoutStrategy()
@NonNull String getOriginName()
SCMHeadMixin.getName(). For example in GitHub or Bitbucket this method would return the name of the origin branch whereas
SCMHeadMixin.getName()would return something like
PR-24. It is perfectly acceptable for a SCM implementation to return the same value as
SCMHeadMixin.getName()where the SCM implementation does not have a separate concept of origin name.
Copyright © 2016–2022. All rights reserved.