public class CatalogBranchManager extends Object implements BranchManager
BranchManager implementation to manage branches via catalog.BRANCH_PREFIX, DEFAULT_MAIN_BRANCH| Constructor and Description |
|---|
CatalogBranchManager(CatalogLoader catalogLoader,
Identifier identifier) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
branches() |
void |
createBranch(String branchName) |
void |
createBranch(String branchName,
String tagName) |
void |
dropBranch(String branchName) |
void |
fastForward(String branchName) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbranchExists, branchPath, fastForwardValidate, isMainBranch, normalizeBranch, validateBranchpublic CatalogBranchManager(CatalogLoader catalogLoader, Identifier identifier)
public void createBranch(String branchName)
createBranch in interface BranchManagerpublic void createBranch(String branchName, @Nullable String tagName)
createBranch in interface BranchManagerpublic void dropBranch(String branchName)
dropBranch in interface BranchManagerpublic void fastForward(String branchName)
fastForward in interface BranchManagerpublic List<String> branches()
branches in interface BranchManagerCopyright © 2023–2025 The Apache Software Foundation. All rights reserved.