Uses of Class
ac.simons.neo4j.migrations.core.MigrationsConfig.Builder
-
Uses of MigrationsConfig.Builder in ac.simons.neo4j.migrations.core
Modifier and TypeMethodDescriptionstatic MigrationsConfig.Builder
MigrationsConfig.builder()
Start building a new configuration.MigrationsConfig.Builder.withAutocrlf
(boolean newAutocrlf) If you're programming on Windows and working with people who are not (or vice-versa), you'll probably run into line-ending issues at some point.MigrationsConfig.Builder.withDatabase
(String newDatabase) Configures the database to apply Cypher-based migrations too.MigrationsConfig.Builder.withImpersonatedUser
(String newImpersonatedUser) Configures the impersonated user to use.MigrationsConfig.Builder.withInstalledBy
(String newInstalledBy) Configures the user / principal name of the that is recorded in the MIGRATED_TO relationship asby
.MigrationsConfig.Builder.withLocationsToScan
(String... locations) Configures the list of locations to scan.MigrationsConfig.Builder.withMigrationClassesDiscoverer
(Discoverer<JavaBasedMigration> newMigrationClassesDiscoverer) MigrationsConfig.Builder.withPackagesToScan
(String... packages) Configures the list of packages to scan.MigrationsConfig.Builder.withResourceScanner
(ClasspathResourceScanner newResourceScanner) MigrationsConfig.Builder.withSchemaDatabase
(String newSchemaDatabase) Configures the schema database to use.MigrationsConfig.Builder.withTransactionMode
(MigrationsConfig.TransactionMode newTransactionMode) Configures the transaction mode.MigrationsConfig.Builder.withValidateOnMigrate
(boolean newValidateOnMigrate) Validating helps you verify that the migrations applied to the database match the ones available locally and is on by default.