public interface BranchRepository extends Repository
| Modifier and Type | Method and Description |
|---|---|
boolean |
branchExists(String branch) |
void |
createBranch(String projectPath,
String branch) |
void |
deleteBranch(String projectPath,
String branch) |
BranchRepository |
forBranch(String branch) |
String |
getBaseBranch() |
String |
getBranch() |
List<String> |
getBranches(String projectPath) |
boolean |
isMergedInto(String from,
String to) |
boolean |
isValidBranchName(String branch) |
void |
merge(String branchFrom,
String author,
ConflictResolveData conflictResolveData) |
void |
pull(String author) |
check, checkHistory, close, copyHistory, delete, delete, deleteHistory, getId, getName, list, listHistory, read, readHistory, save, save, setListener, supportsboolean isMergedInto(String from, String to) throws IOException
IOExceptionString getBranch()
void createBranch(String projectPath, String branch) throws IOException
IOExceptionvoid deleteBranch(String projectPath, String branch) throws IOException
IOExceptionList<String> getBranches(String projectPath) throws IOException
IOExceptionBranchRepository forBranch(String branch) throws IOException
IOExceptionboolean isValidBranchName(String branch)
boolean branchExists(String branch) throws IOException
IOExceptionvoid merge(String branchFrom, String author, ConflictResolveData conflictResolveData) throws IOException
IOExceptionString getBaseBranch()
void pull(String author) throws IOException
IOExceptionCopyright © 2004–2021 OpenL Tablets. All rights reserved.