Class SchemaMigrationVersion45
java.lang.Object
org.eblocker.server.common.data.migrations.SchemaMigrationVersion45
- All Implemented Interfaces:
SchemaMigration
Converts custom domain filters to domain filters usable with new blocker api.
-
Constructor Summary
ConstructorsConstructorDescriptionSchemaMigrationVersion45(String localStoragePath, String customFiltersPath, DataSource dataSource, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
-
Constructor Details
-
SchemaMigrationVersion45
@Inject public SchemaMigrationVersion45(String localStoragePath, String customFiltersPath, DataSource dataSource, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
getSourceVersion
- Specified by:
getSourceVersionin interfaceSchemaMigration
-
getTargetVersion
- Specified by:
getTargetVersionin interfaceSchemaMigration
-
migrate
public void migrate()- Specified by:
migratein interfaceSchemaMigration
-