org.wso2.carbon.deployment.synchronizer
Interface RepositoryCreator


public interface RepositoryCreator


Method Summary
 RepositoryInformation createRepository(int tenantId, String baseUrl, String userName, String password)
          Creates a repository for the tenant
 

Method Detail

createRepository

RepositoryInformation createRepository(int tenantId,
                                       String baseUrl,
                                       String userName,
                                       String password)
                                       throws DeploymentSynchronizerException
Creates a repository for the tenant

Parameters:
tenantId - tenantId
baseUrl - repository base url
userName - repository username
password - repository password
Returns:
RepositoryInformation instance populated with created repository URL
Throws:
DeploymentSynchronizerException - in case of an error


Copyright © 2015 WSO2. All rights reserved.