public class HibernateRepositoryConfigurationMigrator extends Object implements RepositoryConfigurationMigrator
| Constructor and Description |
|---|
HibernateRepositoryConfigurationMigrator(EmbeddedCrowdBootstrap embeddedCrowdBootstrap) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(com.atlassian.user.configuration.RepositoryConfiguration repositoryConfiguration)
Return true if this migrator is able to migrate the configuration supplied by the passed in configuration.
|
void |
migrate(com.atlassian.user.configuration.RepositoryConfiguration repositoryConfiguration)
Migrate the passed in configuration.
|
List<String> |
validate(com.atlassian.user.configuration.RepositoryConfiguration repositoryConfiguration)
Validates that the passed in configuration can be migrated.
|
public HibernateRepositoryConfigurationMigrator(EmbeddedCrowdBootstrap embeddedCrowdBootstrap)
public boolean matches(com.atlassian.user.configuration.RepositoryConfiguration repositoryConfiguration)
RepositoryConfigurationMigratormatches in interface RepositoryConfigurationMigratorrepositoryConfiguration - the configuration to migratepublic List<String> validate(com.atlassian.user.configuration.RepositoryConfiguration repositoryConfiguration)
RepositoryConfigurationMigratorvalidate in interface RepositoryConfigurationMigratorrepositoryConfiguration - the configuration to validatepublic void migrate(com.atlassian.user.configuration.RepositoryConfiguration repositoryConfiguration)
RepositoryConfigurationMigratorCrowdDirectoryService.addDirectory(com.atlassian.crowd.embedded.api.Directory).migrate in interface RepositoryConfigurationMigratorrepositoryConfiguration - the configuration to migrateCopyright © 2003–2016 Atlassian. All rights reserved.