@@ -28,9 +28,10 @@ public class RunCommandConfig extends ConnectionConfig {
2828 private final String excludeSchemaExpr ;
2929 private final String includeObjectExpr ;
3030 private final String excludeObjectExpr ;
31+ private boolean supportInfo = true ;
3132
32- @ ConstructorProperties ({"connectString" , "suitePaths" , "reporters" , "outputAnsiColor" , "failureExitCode" , "skipCompatibilityCheck" , "includePackages" , "excludePackages" , "sourceMapping" , "testMapping" , "logConfigLevel" , "timeoutInMinutes" , "dbmsOutput" , "randomTestOrder" , "randomTestOrderSeed" , "tags" , "coverageSchemes" , "oraStuckTimeout" , "includeSchemaExpr" , "excludeSchemaExpr" , "includeObjectExpr" , "excludeObjectExpr" })
33- public RunCommandConfig (String connectString , String [] suitePaths , ReporterConfig [] reporters , boolean outputAnsiColor , Integer failureExitCode , boolean skipCompatibilityCheck , String [] includePackages , String [] excludePackages , FileMapperConfig sourceMapping , FileMapperConfig testMapping , ConfigLevel logConfigLevel , Integer timeoutInMinutes , boolean dbmsOutput , boolean randomTestOrder , Integer randomTestOrderSeed , String [] tags , String [] coverageSchemes , Integer oraStuckTimeout , String includeSchemaExpr , String excludeSchemaExpr , String includeObjectExpr , String excludeObjectExpr ) {
33+ @ ConstructorProperties ({"connectString" , "suitePaths" , "reporters" , "outputAnsiColor" , "failureExitCode" , "skipCompatibilityCheck" , "includePackages" , "excludePackages" , "sourceMapping" , "testMapping" , "logConfigLevel" , "timeoutInMinutes" , "dbmsOutput" , "randomTestOrder" , "randomTestOrderSeed" , "tags" , "coverageSchemes" , "oraStuckTimeout" , "includeSchemaExpr" , "excludeSchemaExpr" , "includeObjectExpr" , "excludeObjectExpr" , "supportInfo" })
34+ public RunCommandConfig (String connectString , String [] suitePaths , ReporterConfig [] reporters , boolean outputAnsiColor , Integer failureExitCode , boolean skipCompatibilityCheck , String [] includePackages , String [] excludePackages , FileMapperConfig sourceMapping , FileMapperConfig testMapping , ConfigLevel logConfigLevel , Integer timeoutInMinutes , boolean dbmsOutput , boolean randomTestOrder , Integer randomTestOrderSeed , String [] tags , String [] coverageSchemes , Integer oraStuckTimeout , String includeSchemaExpr , String excludeSchemaExpr , String includeObjectExpr , String excludeObjectExpr , boolean supportInfo ) {
3435 super (connectString );
3536 this .suitePaths = suitePaths ;
3637 this .reporters = reporters ;
@@ -53,6 +54,7 @@ public RunCommandConfig(String connectString, String[] suitePaths, ReporterConfi
5354 this .excludeSchemaExpr = excludeSchemaExpr ;
5455 this .includeObjectExpr = includeObjectExpr ;
5556 this .excludeObjectExpr = excludeObjectExpr ;
57+ this .supportInfo = supportInfo ;
5658 }
5759
5860 public String [] getSuitePaths () {
@@ -129,6 +131,8 @@ public String[] getCoverageSchemes() {
129131
130132 public String getExcludeObjectExpr () { return excludeObjectExpr ; }
131133
134+ public boolean isSupportInfo () { return supportInfo ; }
135+
132136 public static class Builder {
133137
134138 private String connectString ;
@@ -153,6 +157,7 @@ public static class Builder {
153157 private String excludeSchemaExpr ;
154158 private String includeObjectExpr ;
155159 private String excludeObjectExpr ;
160+ private boolean supportInfo = true ;
156161
157162 public Builder connectString (String connectString ) {
158163 this .connectString = connectString ;
@@ -264,8 +269,13 @@ public Builder excludeObjectExpr(String excludeObjectExpr) {
264269 return this ;
265270 }
266271
272+ public Builder supportInfo (boolean supportInfo ) {
273+ this .supportInfo = supportInfo ;
274+ return this ;
275+ }
276+
267277 public RunCommandConfig create () {
268- return new RunCommandConfig (connectString , suitePaths , reporters , outputAnsiColor , failureExitCode , skipCompatibilityCheck , includePackages , excludePackages , sourceMapping , testMapping , logConfigLevel , timeoutInMinutes , dbmsOutput , randomTestOrder , randomTestOrderSeed , tags , coverageSchemes , oraStuckTimeout , includeSchemaExpr , excludeSchemaExpr , includeObjectExpr , excludeObjectExpr );
278+ return new RunCommandConfig (connectString , suitePaths , reporters , outputAnsiColor , failureExitCode , skipCompatibilityCheck , includePackages , excludePackages , sourceMapping , testMapping , logConfigLevel , timeoutInMinutes , dbmsOutput , randomTestOrder , randomTestOrderSeed , tags , coverageSchemes , oraStuckTimeout , includeSchemaExpr , excludeSchemaExpr , includeObjectExpr , excludeObjectExpr , supportInfo );
269279 }
270280 }
271281}
0 commit comments