org.xwiki.extension.repository
Interface ExtensionRepositoryFactory

All Known Implementing Classes:
AbstractExtensionRepositoryFactory

@Role
public interface ExtensionRepositoryFactory

Create ExtensionRepositorys.

Since:
4.0M1
Version:
$Id: 4026415af2d0b4a986c8847b3024c75490c785cd $

Method Summary
 ExtensionRepository createRepository(ExtensionRepositoryDescriptor repositoryDescriptor)
          Create a new ExtensionRepository.
 ExtensionRepository createRepository(ExtensionRepositoryId repositoryId)
          Deprecated. since 4.3M1 use createRepository(ExtensionRepositoryDescriptor)
 

Method Detail

createRepository

@Deprecated
ExtensionRepository createRepository(ExtensionRepositoryId repositoryId)
                                     throws ExtensionRepositoryException
Deprecated. since 4.3M1 use createRepository(ExtensionRepositoryDescriptor)

Create a new ExtensionRepository.

Parameters:
repositoryId - the repository identifier
Returns:
the ExtensionRepository
Throws:
ExtensionRepositoryException - failed to create a ExtensionRepository for the provided identifier

createRepository

ExtensionRepository createRepository(ExtensionRepositoryDescriptor repositoryDescriptor)
                                     throws ExtensionRepositoryException
Create a new ExtensionRepository.

Parameters:
repositoryDescriptor - the repository descriptor
Returns:
the ExtensionRepository
Throws:
ExtensionRepositoryException - failed to create a ExtensionRepository for the provided identifier
Since:
4.3M1


Copyright © 2004-2013 XWiki. All Rights Reserved.