Skip to content

Commit e3aac59

Browse files
committed
Polish property order
Keep "flyway teams" properties at the end.
1 parent cf95ae9 commit e3aac59

File tree

1 file changed

+52
-52
lines changed
  • spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway

1 file changed

+52
-52
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayProperties.java

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,26 @@ public class FlywayProperties {
253253
*/
254254
private boolean validateOnMigrate = true;
255255

256+
/**
257+
* Prefix of placeholders in migration scripts.
258+
*/
259+
private String scriptPlaceholderPrefix = "FP__";
260+
261+
/**
262+
* Suffix of placeholders in migration scripts.
263+
*/
264+
private String scriptPlaceholderSuffix = "__";
265+
266+
/**
267+
* Whether Flyway should execute SQL within a transaction.
268+
*/
269+
private boolean executeInTransaction = true;
270+
271+
/**
272+
* Loggers Flyway should use.
273+
*/
274+
private String[] loggers = { "slf4j" };
275+
256276
/**
257277
* Whether to batch SQL statements when executing them. Requires Flyway Teams.
258278
*/
@@ -352,26 +372,6 @@ public class FlywayProperties {
352372
*/
353373
private Boolean detectEncoding;
354374

355-
/**
356-
* Prefix of placeholders in migration scripts.
357-
*/
358-
private String scriptPlaceholderPrefix = "FP__";
359-
360-
/**
361-
* Suffix of placeholders in migration scripts.
362-
*/
363-
private String scriptPlaceholderSuffix = "__";
364-
365-
/**
366-
* Whether Flyway should execute SQL within a transaction.
367-
*/
368-
private boolean executeInTransaction = true;
369-
370-
/**
371-
* Loggers Flyway should use.
372-
*/
373-
private String[] loggers = { "slf4j" };
374-
375375
public boolean isEnabled() {
376376
return this.enabled;
377377
}
@@ -692,6 +692,38 @@ public void setValidateOnMigrate(boolean validateOnMigrate) {
692692
this.validateOnMigrate = validateOnMigrate;
693693
}
694694

695+
public String getScriptPlaceholderPrefix() {
696+
return this.scriptPlaceholderPrefix;
697+
}
698+
699+
public void setScriptPlaceholderPrefix(String scriptPlaceholderPrefix) {
700+
this.scriptPlaceholderPrefix = scriptPlaceholderPrefix;
701+
}
702+
703+
public String getScriptPlaceholderSuffix() {
704+
return this.scriptPlaceholderSuffix;
705+
}
706+
707+
public void setScriptPlaceholderSuffix(String scriptPlaceholderSuffix) {
708+
this.scriptPlaceholderSuffix = scriptPlaceholderSuffix;
709+
}
710+
711+
public boolean isExecuteInTransaction() {
712+
return this.executeInTransaction;
713+
}
714+
715+
public void setExecuteInTransaction(boolean executeInTransaction) {
716+
this.executeInTransaction = executeInTransaction;
717+
}
718+
719+
public String[] getLoggers() {
720+
return this.loggers;
721+
}
722+
723+
public void setLoggers(String[] loggers) {
724+
this.loggers = loggers;
725+
}
726+
695727
public Boolean getBatch() {
696728
return this.batch;
697729
}
@@ -836,36 +868,4 @@ public void setDetectEncoding(final Boolean detectEncoding) {
836868
this.detectEncoding = detectEncoding;
837869
}
838870

839-
public String getScriptPlaceholderPrefix() {
840-
return this.scriptPlaceholderPrefix;
841-
}
842-
843-
public void setScriptPlaceholderPrefix(String scriptPlaceholderPrefix) {
844-
this.scriptPlaceholderPrefix = scriptPlaceholderPrefix;
845-
}
846-
847-
public String getScriptPlaceholderSuffix() {
848-
return this.scriptPlaceholderSuffix;
849-
}
850-
851-
public void setScriptPlaceholderSuffix(String scriptPlaceholderSuffix) {
852-
this.scriptPlaceholderSuffix = scriptPlaceholderSuffix;
853-
}
854-
855-
public boolean isExecuteInTransaction() {
856-
return this.executeInTransaction;
857-
}
858-
859-
public void setExecuteInTransaction(boolean executeInTransaction) {
860-
this.executeInTransaction = executeInTransaction;
861-
}
862-
863-
public String[] getLoggers() {
864-
return this.loggers;
865-
}
866-
867-
public void setLoggers(String[] loggers) {
868-
this.loggers = loggers;
869-
}
870-
871871
}

0 commit comments

Comments
 (0)