Package com.qfs.multiversion
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 Summary
Modifier and TypeMethodDescriptionGets the name of the branch.Gets the branch on which this version's branch was created.Gets the head version of a branch, it cannot benull.
-
Method Details
-
getVersion
V getVersion()Gets the head version of a branch, it cannot benull.- 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
-