Package org.wso2.carbon.deployment.synchronizer

## Interface RepositoryCreator

-     public interface RepositoryCreator

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `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