|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wso2.carbon.deployment.synchronizer.RepositoryManager
public abstract class RepositoryManager
| Field Summary | |
|---|---|
protected RepositoryCreator |
repositoryCreator
|
| Constructor Summary | |
|---|---|
RepositoryManager()
Default constructor |
|
RepositoryManager(RepositoryCreator repositoryCreator)
Constructor |
|
| Method Summary | |
|---|---|
abstract void |
addRepository(int tenantId,
String url)
Adds the already existing repository specified by tenant |
abstract RepositoryInformation |
getCredentialsInformation(int tenantId)
Returns a RepositoryInformation instance populated with repository credentials for a tenant |
abstract RepositoryInformation |
getUrlInformation(int tenantId)
Returns a RepositoryInformation instance populated with repository url for a tenant |
abstract void |
provisionRepository(int tenantId)
Creates a repository for the tenant in the location specified, if it doesn't exist already |
void |
setRepositoryCreator(RepositoryCreator repositoryCreator)
Sets the repository creator implementation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected RepositoryCreator repositoryCreator
| Constructor Detail |
|---|
public RepositoryManager()
public RepositoryManager(RepositoryCreator repositoryCreator)
repositoryCreator - Repository creator instance| Method Detail |
|---|
public void setRepositoryCreator(RepositoryCreator repositoryCreator)
repositoryCreator - RepositoryCreator instance
public abstract RepositoryInformation getUrlInformation(int tenantId)
throws DeploymentSynchronizerException
tenantId - tenant Id
DeploymentSynchronizerException - in case of an error
public abstract RepositoryInformation getCredentialsInformation(int tenantId)
throws DeploymentSynchronizerException
tenantId - tenant Id
DeploymentSynchronizerException - in case of an error
public abstract void provisionRepository(int tenantId)
throws DeploymentSynchronizerException
tenantId - tenant Id
DeploymentSynchronizerException - in case of an error
public abstract void addRepository(int tenantId,
String url)
throws DeploymentSynchronizerException
tenantId - tenant Idurl - repository url
DeploymentSynchronizerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||