@@ -24,9 +24,13 @@ public class RunCommandConfig extends ConnectionConfig {
2424 private final String [] tags ;
2525 private final String [] coverageSchemes ;
2626 private final Integer oraStuckTimeout ;
27+ private final String includeSchemaExpr ;
28+ private final String excludeSchemaExpr ;
29+ private final String includeObjectExpr ;
30+ private final String excludeObjectExpr ;
2731
28- @ ConstructorProperties ({"connectString" , "suitePaths" , "reporters" , "outputAnsiColor" , "failureExitCode" , "skipCompatibilityCheck" , "includePackages" , "excludePackages" , "sourceMapping" , "testMapping" , "logConfigLevel" , "timeoutInMinutes" , "dbmsOutput" , "randomTestOrder" , "randomTestOrderSeed" , "tags" , "coverageSchemes" , "oraStuckTimeout" })
29- 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 ) {
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 ) {
3034 super (connectString );
3135 this .suitePaths = suitePaths ;
3236 this .reporters = reporters ;
@@ -45,6 +49,10 @@ public RunCommandConfig(String connectString, String[] suitePaths, ReporterConfi
4549 this .tags = tags ;
4650 this .coverageSchemes = coverageSchemes ;
4751 this .oraStuckTimeout = oraStuckTimeout ;
52+ this .includeSchemaExpr = includeSchemaExpr ;
53+ this .excludeSchemaExpr = excludeSchemaExpr ;
54+ this .includeObjectExpr = includeObjectExpr ;
55+ this .excludeObjectExpr = excludeObjectExpr ;
4856 }
4957
5058 public String [] getSuitePaths () {
@@ -113,6 +121,14 @@ public String[] getCoverageSchemes() {
113121
114122 public Integer getOraStuckTimeout () { return oraStuckTimeout ; }
115123
124+ public String getIncludeSchemaExpr () { return includeSchemaExpr ; }
125+
126+ public String getExcludeSchemaExpr () { return excludeSchemaExpr ; }
127+
128+ public String getIncludeObjectExpr () { return includeObjectExpr ; }
129+
130+ public String getExcludeObjectExpr () { return excludeObjectExpr ; }
131+
116132 public static class Builder {
117133
118134 private String connectString ;
@@ -133,6 +149,10 @@ public static class Builder {
133149 private String [] tags = new String [0 ];
134150 private String [] coverageSchemes = new String [0 ];
135151 private Integer oraStuckTimeout ;
152+ private String includeSchemaExpr ;
153+ private String excludeSchemaExpr ;
154+ private String includeObjectExpr ;
155+ private String excludeObjectExpr ;
136156
137157 public Builder connectString (String connectString ) {
138158 this .connectString = connectString ;
@@ -224,8 +244,28 @@ public Builder oraStuckTimeout(Integer oraStuckTimeout) {
224244 return this ;
225245 }
226246
247+ public Builder includeSchemaExpr (String includeSchemaExpr ) {
248+ this .includeSchemaExpr = includeSchemaExpr ;
249+ return this ;
250+ }
251+
252+ public Builder excludeSchemaExpr (String excludeSchemaExpr ) {
253+ this .excludeSchemaExpr = excludeSchemaExpr ;
254+ return this ;
255+ }
256+
257+ public Builder includeObjectExpr (String includeObjectExpr ) {
258+ this .includeObjectExpr = includeObjectExpr ;
259+ return this ;
260+ }
261+
262+ public Builder excludeObjectExpr (String excludeObjectExpr ) {
263+ this .excludeObjectExpr = excludeObjectExpr ;
264+ return this ;
265+ }
266+
227267 public RunCommandConfig create () {
228- return new RunCommandConfig (connectString , suitePaths , reporters , outputAnsiColor , failureExitCode , skipCompatibilityCheck , includePackages , excludePackages , sourceMapping , testMapping , logConfigLevel , timeoutInMinutes , dbmsOutput , randomTestOrder , randomTestOrderSeed , tags , coverageSchemes , oraStuckTimeout );
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 );
229269 }
230270 }
231271}
0 commit comments