Class MigrationsProperties
java.lang.Object
ac.simons.neo4j.migrations.springframework.boot.autoconfigure.MigrationsProperties
@ConfigurationProperties(prefix="org.neo4j.migrations")
public class MigrationsProperties
extends Object
Configuration properties for a migration instance.
- Since:
- 0.0.6
- Author:
- Michael J. Simons
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionString[]
String[]
ac.simons.neo4j.migrations.core.MigrationsConfig.TransactionMode
boolean
boolean
boolean
boolean
void
setAutocrlf
(boolean autocrlf) void
setCheckLocation
(boolean checkLocation) void
setDatabase
(String database) void
setEnabled
(boolean enabled) void
setEncoding
(Charset encoding) void
setImpersonatedUser
(String impersonatedUser) void
setInstalledBy
(String installedBy) void
setLocationsToScan
(String[] locationsToScan) void
setPackagesToScan
(String[] packagesToScan) void
setSchemaDatabase
(String schemaDatabase) void
setTransactionMode
(ac.simons.neo4j.migrations.core.MigrationsConfig.TransactionMode transactionMode) void
setValidateOnMigrate
(boolean validateOnMigrate)
-
Constructor Details
-
MigrationsProperties
public MigrationsProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled()- Returns:
- see
enabled
-
setEnabled
public void setEnabled(boolean enabled) - Parameters:
enabled
- A new value forenabled
-
isCheckLocation
public boolean isCheckLocation()- Returns:
- see
checkLocation
-
setCheckLocation
public void setCheckLocation(boolean checkLocation) - Parameters:
checkLocation
- A new value forcheckLocation
-
getPackagesToScan
- Returns:
- see
packagesToScan
-
setPackagesToScan
- Parameters:
packagesToScan
- A new value forpackagesToScan
-
getLocationsToScan
- Returns:
- see
locationsToScan
-
setLocationsToScan
- Parameters:
locationsToScan
- A new value forlocationsToScan
-
getInstalledBy
- Returns:
- see
installedBy
-
setInstalledBy
- Parameters:
installedBy
- A new value forinstalledBy
-
getTransactionMode
public ac.simons.neo4j.migrations.core.MigrationsConfig.TransactionMode getTransactionMode()- Returns:
- see
transactionMode
-
setTransactionMode
public void setTransactionMode(ac.simons.neo4j.migrations.core.MigrationsConfig.TransactionMode transactionMode) - Parameters:
transactionMode
- A new value fortransactionMode
-
getEncoding
- Returns:
- see
encoding
-
setEncoding
- Parameters:
encoding
- A new value forencoding
-
getDatabase
- Returns:
- see
database
-
setDatabase
- Parameters:
database
- A new value fordatabase
-
getSchemaDatabase
- Returns:
- see
schemaDatabase
-
setSchemaDatabase
- Parameters:
schemaDatabase
- A new value forschemaDatabase
-
getImpersonatedUser
- Returns:
- see
impersonatedUser
-
setImpersonatedUser
- Parameters:
impersonatedUser
- A new value forimpersonatedUser
-
isValidateOnMigrate
public boolean isValidateOnMigrate()- Returns:
- see
validateOnMigrate
-
setValidateOnMigrate
public void setValidateOnMigrate(boolean validateOnMigrate) - Parameters:
validateOnMigrate
- A new value forvalidateOnMigrate
-
isAutocrlf
public boolean isAutocrlf()- Returns:
- see
autocrlf
-
setAutocrlf
public void setAutocrlf(boolean autocrlf) - Parameters:
autocrlf
- A new value forautocrlf
-