Package sonia.scm.repository
Class AbstactImportHandler
java.lang.Object
sonia.scm.repository.AbstactImportHandler
- All Implemented Interfaces:
AdvancedImportHandler
,ImportHandler
@Deprecated
public abstract class AbstactImportHandler
extends Object
implements AdvancedImportHandler
Deprecated.
Abstract base class for directory based
ImportHandler
and
AdvancedImportHandler
.- Since:
- 1.12
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Repository
createRepository
(File repositoryDirectory, String repositoryName) Deprecated.protected abstract String[]
Deprecated.protected abstract AbstractRepositoryHandler<?>
Deprecated.importRepositories
(RepositoryManager manager) Deprecated.Import existing and non managed repositories.Deprecated.Import existing and non managed repositories.
-
Constructor Details
-
AbstactImportHandler
public AbstactImportHandler()Deprecated.
-
-
Method Details
-
getDirectoryNames
Deprecated. -
getRepositoryHandler
Deprecated. -
importRepositories
Deprecated.Description copied from interface:ImportHandler
Import existing and non managed repositories.- Specified by:
importRepositories
in interfaceImportHandler
- Parameters:
manager
- The globalRepositoryManager
- Returns:
- a
List
names of imported repositories - Throws:
IOException
-
importRepositoriesFromDirectory
Deprecated.Description copied from interface:AdvancedImportHandler
Import existing and non managed repositories. Returns result which contains names of the successfully imported directories and the names of the failed directories- Specified by:
importRepositoriesFromDirectory
in interfaceAdvancedImportHandler
- Parameters:
manager
- The globalRepositoryManager
- Returns:
- result which contains names of the successfully imported directories and the names of the failed directories.
-
createRepository
protected Repository createRepository(File repositoryDirectory, String repositoryName) throws IOException Deprecated.- Throws:
IOException
-