Package | Description |
---|---|
org.guvnor.structure.repositories | |
org.guvnor.structure.repositories.impl.git |
Modifier and Type | Method and Description |
---|---|
Optional<Branch> |
Repository.getBranch(Path branchRoot) |
Optional<Branch> |
Repository.getBranch(String branch) |
Collection<Branch> |
Repository.getBranches()
Returns "read-only" view of all branches available in this repository.
|
Optional<Branch> |
Repository.getDefaultBranch()
In the case of Git repository this would be master.
|
Modifier and Type | Method and Description |
---|---|
Optional<Branch> |
GitRepository.getBranch(Path branchRoot) |
Optional<Branch> |
GitRepository.getBranch(String branchName) |
Collection<Branch> |
GitRepository.getBranches() |
Optional<Branch> |
GitRepository.getDefaultBranch() |
Modifier and Type | Method and Description |
---|---|
void |
GitRepository.addBranch(Branch branch) |
Modifier and Type | Method and Description |
---|---|
void |
GitRepository.setBranches(Map<String,Branch> branches) |
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.