Package org.xwiki.extension.repository
Interface ExtensionRepositoryFactory
-
- All Known Implementing Classes:
AbstractExtensionRepositoryFactory
@Role public interface ExtensionRepositoryFactory
CreateExtensionRepositorys.- Since:
- 4.0M1
- Version:
- $Id: 499c8d3cb48d00e4dfb360d4e2c27929e24b8ddd $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description ExtensionRepositorycreateRepository(ExtensionRepositoryDescriptor repositoryDescriptor)Create a newExtensionRepository.ExtensionRepositorycreateRepository(ExtensionRepositoryId repositoryId)Deprecated.since 4.3M1 usecreateRepository(ExtensionRepositoryDescriptor)
-
-
-
Method Detail
-
createRepository
@Deprecated ExtensionRepository createRepository(ExtensionRepositoryId repositoryId) throws ExtensionRepositoryException
Deprecated.since 4.3M1 usecreateRepository(ExtensionRepositoryDescriptor)Create a newExtensionRepository.- Parameters:
repositoryId- the repository identifier- Returns:
- the
ExtensionRepository - Throws:
ExtensionRepositoryException- failed to create aExtensionRepositoryfor the provided identifier
-
createRepository
ExtensionRepository createRepository(ExtensionRepositoryDescriptor repositoryDescriptor) throws ExtensionRepositoryException
Create a newExtensionRepository.- Parameters:
repositoryDescriptor- the repository descriptor- Returns:
- the
ExtensionRepository - Throws:
ExtensionRepositoryException- failed to create aExtensionRepositoryfor the provided identifier- Since:
- 4.3M1
-
-