Interface ToBranchParams
-
- All Known Subinterfaces:
CommitParams,MergeParams,MetadataRewriteParams,TransplantParams
public interface ToBranchParams
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceToBranchParams.Builder<B>
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.util.Optional<org.projectnessie.versioned.Hash>getExpectedHead()Expected HEAD ofgetToBranch().org.projectnessie.versioned.BranchNamegetToBranch()Branch to commit to.
-
-
-
Method Detail
-
getToBranch
org.projectnessie.versioned.BranchName getToBranch()
Branch to commit to. IfgetExpectedHead()is present, the referenced branch's HEAD must be equal to this hash.
-
getExpectedHead
@Default default java.util.Optional<org.projectnessie.versioned.Hash> getExpectedHead()
Expected HEAD ofgetToBranch().
-
-