Interface IHeadInfo<V extends IVersion>

  • All Known Implementing Classes:
    HeadInfo

    public interface IHeadInfo<V extends IVersion>
    Information about a branch head. It contains in particular a strong reference to the branch head version.
    Author:
    ActiveViam
    • Method Detail

      • getVersion

        V getVersion()
        Gets the head version of a branch, it cannot be null.
        Returns:
        the head version of a branch
      • getBranch

        String getBranch()
        Gets the name of the branch.
        Returns:
        the name of the branch
      • getParentBranch

        String getParentBranch()
        Gets the branch on which this version's branch was created.
        Returns:
        the branch on which this version's branch was created