@@ -38,17 +38,19 @@ public class ParamsInfo {
3838 private String remoteSqlPluginPath ;
3939 private String pluginLoadMode ;
4040 private String deployMode ;
41+ private String logLevel ;
4142 private Properties confProp ;
4243
4344 public ParamsInfo (String sql , String name , List <URL > jarUrlList , String localSqlPluginPath ,
44- String remoteSqlPluginPath , String pluginLoadMode , String deployMode , Properties confProp ) {
45+ String remoteSqlPluginPath , String pluginLoadMode , String deployMode , String logLevel , Properties confProp ) {
4546 this .sql = sql ;
4647 this .name = name ;
4748 this .jarUrlList = jarUrlList ;
4849 this .localSqlPluginPath = localSqlPluginPath ;
4950 this .remoteSqlPluginPath = remoteSqlPluginPath ;
5051 this .pluginLoadMode = pluginLoadMode ;
5152 this .deployMode = deployMode ;
53+ this .logLevel = logLevel ;
5254 this .confProp = confProp ;
5355 }
5456
@@ -84,6 +86,10 @@ public Properties getConfProp() {
8486 return confProp ;
8587 }
8688
89+ public String getLogLevel () {
90+ return logLevel ;
91+ }
92+
8793 @ Override
8894 public String toString () {
8995 return "ParamsInfo{" +
@@ -94,6 +100,7 @@ public String toString() {
94100 ", remoteSqlPluginPath='" + remoteSqlPluginPath + '\'' +
95101 ", pluginLoadMode='" + pluginLoadMode + '\'' +
96102 ", deployMode='" + deployMode + '\'' +
103+ ", logLevel='" + logLevel + '\'' +
97104 ", confProp=" + confProp +
98105 '}' ;
99106 }
@@ -114,6 +121,7 @@ public static class Builder {
114121 private String remoteSqlPluginPath ;
115122 private String pluginLoadMode ;
116123 private String deployMode ;
124+ private String logLevel ;
117125 private Properties confProp ;
118126
119127
@@ -152,14 +160,19 @@ public ParamsInfo.Builder setDeployMode(String deployMode) {
152160 return this ;
153161 }
154162
163+ public ParamsInfo .Builder setLogLevel (String logLevel ) {
164+ this .logLevel = logLevel ;
165+ return this ;
166+ }
167+
155168 public ParamsInfo .Builder setConfProp (Properties confProp ) {
156169 this .confProp = confProp ;
157170 return this ;
158171 }
159172
160173 public ParamsInfo build () {
161174 return new ParamsInfo (sql , name , jarUrlList , localSqlPluginPath ,
162- remoteSqlPluginPath , pluginLoadMode , deployMode , confProp );
175+ remoteSqlPluginPath , pluginLoadMode , deployMode , logLevel , confProp );
163176 }
164177 }
165178}
0 commit comments