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, wait
branchPath, isMainBranch, normalizeBranch
public CatalogBranchManager(CatalogLoader catalogLoader, Identifier identifier)
public void createBranch(String branchName)
createBranch
in interface BranchManager
public void createBranch(String branchName, @Nullable String tagName)
createBranch
in interface BranchManager
public void dropBranch(String branchName)
dropBranch
in interface BranchManager
public void fastForward(String branchName)
fastForward
in interface BranchManager
public List<String> branches()
branches
in interface BranchManager
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.