Package org.projectnessie.versioned
Interface VersionStore.MergeTransplantOpBase
- All Known Subinterfaces:
VersionStore.MergeOp,VersionStore.TransplantOp
- Enclosing interface:
VersionStore
public static interface VersionStore.MergeTransplantOpBase
-
Method Summary
Modifier and TypeMethodDescriptiondefault org.projectnessie.model.MergeBehaviorDefault merge behavior for all keys not present inmergeKeyBehaviors().default booleandryRun()Whether to try the merge, check for conflicts, but do not commit.The current head of the branch to validate before updating (optional).default booleanWhether to fetch additional commit information like commit-operations and parent.fromRef()The named ref we are merging/transplanting from.Map<org.projectnessie.model.ContentKey, org.projectnessie.model.MergeKeyBehavior> Merge behaviors per content key.toBranch()The branch that we are merging/transplanting into.default MetadataRewriter<org.projectnessie.model.CommitMeta> Function that rewrites the commit metadata.default VersionStore.CommitValidator
-
Method Details
-
fromRef
NamedRef fromRef()The named ref we are merging/transplanting from. -
toBranch
BranchName toBranch()The branch that we are merging/transplanting into. -
expectedHash
The current head of the branch to validate before updating (optional). -
updateCommitMetadata
Function that rewrites the commit metadata. -
mergeKeyBehaviors
Map<org.projectnessie.model.ContentKey,org.projectnessie.model.MergeKeyBehavior> mergeKeyBehaviors()Merge behaviors per content key. -
defaultMergeBehavior
@Default default org.projectnessie.model.MergeBehavior defaultMergeBehavior()Default merge behavior for all keys not present inmergeKeyBehaviors(). -
dryRun
@Default default boolean dryRun()Whether to try the merge, check for conflicts, but do not commit. -
fetchAdditionalInfo
@Default default boolean fetchAdditionalInfo()Whether to fetch additional commit information like commit-operations and parent. -
validator
-