|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RepositoryConfigurationMigrator
Interface to logic that can create an embedded crowd directory from an Atlassian User repository configuration.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
List<String> validate(com.atlassian.user.configuration.RepositoryConfiguration repositoryConfiguration)
throws AtlassianUserMigrationException
repositoryConfiguration - the configuration to validate
AtlassianUserMigrationException - if the repository configuration is unable to be upgraded due to being incomplete or malformed
void migrate(com.atlassian.user.configuration.RepositoryConfiguration repositoryConfiguration)
throws AtlassianUserMigrationException
CrowdDirectoryService.addDirectory(com.atlassian.crowd.embedded.api.Directory).
repositoryConfiguration - the configuration to migrate
AtlassianUserMigrationException - if the repository configuration is unable to be upgraded due to being incomplete or malformedboolean matches(com.atlassian.user.configuration.RepositoryConfiguration repositoryConfiguration)
repositoryConfiguration - the configuration to migrate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||