Interface SCMHeadMixin

    • Method Detail

      • getName

        @Exported
        @NonNull
        String getName()
        Returns the name.
        Returns:
        the name.
      • getOrigin

        @Exported
        @NonNull
        SCMHeadOrigin getOrigin()
        Returns the origin of the head.
        • For centralized version control systems such as Subversion, CVS, etc the return value will always be SCMHeadOrigin.DEFAULT.
        • For distributed version control systems such as Git, Mercurial etc the return value may have other values.
        • For centralized distributed version control systems such as GitHub, Bitbucket, etc the return values may be restricted to SCMHeadOrigin.DEFAULT or instances of SCMHeadOrigin.Fork.
        Returns:
        the origin of the head or SCMHeadOrigin.DEFAULT if there can only ever be one origin.
        Since:
        2.2.0