Package org.projectnessie.jaxrs
Class AbstractRest
- java.lang.Object
-
- org.projectnessie.jaxrs.AbstractRest
-
- Direct Known Subclasses:
AbstractRestAssign
public abstract class AbstractRest extends Object
SeeAbstractTestRestfor details about and reason for the inheritance model.
-
-
Constructor Summary
Constructors Constructor Description AbstractRest()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected org.projectnessie.model.BranchcreateBranch(String name)protected StringcreateCommits(org.projectnessie.model.Reference branch, int numAuthors, int commitsPerAuthor, String currentHash)protected abstract NessieApiV1getApi()protected static StringmaybeAsDetachedName(boolean withDetachedCommit, org.projectnessie.model.Reference ref)Used by parameterized tests to return the "DETACHED", ifwithDetachedCommitistrueor thereference namefrom the givenref.
-
-
-
Method Detail
-
getApi
protected abstract NessieApiV1 getApi()
-
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", ifwithDetachedCommitistrueor thereference namefrom the givenref.
-
-