Interface RepositoryCopier
-
public interface RepositoryCopier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Repositorycopy(OrganizationalUnit targetOU, String newRepositoryName, org.uberfire.backend.vfs.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.voidcopy(org.uberfire.backend.vfs.Path originRoot, org.uberfire.backend.vfs.Path targetRoot)Likecopy(Path, Path)but assumes current active space.voidcopy(org.uberfire.spaces.Space space, org.uberfire.backend.vfs.Path originRoot, org.uberfire.backend.vfs.Path targetRoot)StringmakeSafeRepositoryName(String oldName)
-
-
-
Method Detail
-
copy
Repository copy(OrganizationalUnit targetOU, String newRepositoryName, org.uberfire.backend.vfs.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.- Parameters:
targetOU- The OU for the new RepositorynewRepositoryName- Name for the new RepositoryoriginRoot- Root where the Repository is cloned from- Returns:
- The new Repository
-
copy
void copy(org.uberfire.backend.vfs.Path originRoot, org.uberfire.backend.vfs.Path targetRoot)Likecopy(Path, Path)but assumes current active space.
-
copy
void copy(org.uberfire.spaces.Space space, org.uberfire.backend.vfs.Path originRoot, org.uberfire.backend.vfs.Path targetRoot)
-
-