Interface BranchName

  • All Superinterfaces:
    NamedRef, Ref

    @Immutable
    public interface BranchName
    extends NamedRef
    A named reference representing a branch.
    • Method Summary

      Static Methods 
      Modifier and Type Method Description
      static BranchName of​(java.lang.String name)
      Create a new branch reference.
      • Methods inherited from interface org.projectnessie.versioned.NamedRef

        getName
    • Method Detail

      • of

        @Nonnull
        @Nonnull
        static BranchName of​(@Nonnull @Nonnull
                             java.lang.String name)
        Create a new branch reference.
        Parameters:
        name - the branch name
        Returns:
        an instance of BranchName for the provided name