public interface RepositoryCopier
Modifier and Type | Method and Description |
---|---|
Repository |
copy(OrganizationalUnit targetOU,
String newRepositoryName,
Path originRoot)
Notice that this does not clone the content from the origin,
this doeas a copy that does not include the history or the old commits IDs.
|
void |
copy(Path originRoot,
Path targetRoot)
Like
copy(Path, Path) but assumes current active space. |
void |
copy(Space space,
Path originRoot,
Path targetRoot) |
String |
makeSafeRepositoryName(String oldName) |
Repository copy(OrganizationalUnit targetOU, String newRepositoryName, Path originRoot)
targetOU
- The OU for the new RepositorynewRepositoryName
- Name for the new RepositoryoriginRoot
- Root where the Repository is cloned fromvoid copy(Path originRoot, Path targetRoot)
copy(Path, Path)
but assumes current active space.Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.