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)
RepositoryConfigurationMigrator
matches
in interface RepositoryConfigurationMigrator
repositoryConfiguration
- the configuration to migratepublic List<String> validate(com.atlassian.user.configuration.RepositoryConfiguration repositoryConfiguration)
RepositoryConfigurationMigrator
validate
in interface RepositoryConfigurationMigrator
repositoryConfiguration
- the configuration to validatepublic void migrate(com.atlassian.user.configuration.RepositoryConfiguration repositoryConfiguration)
RepositoryConfigurationMigrator
CrowdDirectoryService.addDirectory(com.atlassian.crowd.embedded.api.Directory)
.migrate
in interface RepositoryConfigurationMigrator
repositoryConfiguration
- the configuration to migrateCopyright © 2003–2016 Atlassian. All rights reserved.
View cookie preferences