Class AbstractRest

    • Constructor Detail

      • AbstractRest

        public AbstractRest()
    • Method Detail

      • createCommits

        protected String createCommits​(org.projectnessie.model.Reference branch,
                                       int numAuthors,
                                       int commitsPerAuthor,
                                       String currentHash)
                                throws org.projectnessie.error.BaseNessieClientServerException
        Throws:
        org.projectnessie.error.BaseNessieClientServerException
      • createBranch

        protected org.projectnessie.model.Branch createBranch​(String name)
                                                       throws org.projectnessie.error.BaseNessieClientServerException
        Throws:
        org.projectnessie.error.BaseNessieClientServerException
      • maybeAsDetachedName

        protected static String maybeAsDetachedName​(boolean withDetachedCommit,
                                                    org.projectnessie.model.Reference ref)
        Used by parameterized tests to return the "DETACHED", if withDetachedCommit is true or the reference name from the given ref.