@@ -222,20 +222,16 @@ public int hashCode() {
222
222
223
223
@ Override
224
224
public String toString () {
225
- return "ZeebeClientConfigurationProperties{" +
226
- "broker=" + broker +
227
- ", cloud=" + cloud +
228
- ", worker=" + worker +
229
- ", message=" + message +
230
- ", security=" + security +
231
- ", job=" + job +
232
- ", requestTimeout=" + requestTimeout +
233
- ", ownsJobWorkerExecutor=" + ownsJobWorkerExecutor +
234
- '}' ;
225
+ return "ZeebeClientConfigurationProperties{" + "environment=" + environment + ", connectionMode='" + connectionMode + '\'' + ", defaultTenantId='" + defaultTenantId + '\'' + ", defaultJobWorkerTenantIds=" + defaultJobWorkerTenantIds + ", applyEnvironmentVariableOverrides=" + applyEnvironmentVariableOverrides + ", enabled=" + enabled + ", broker=" + broker + ", cloud=" + cloud + ", worker=" + worker + ", message=" + message + ", security=" + security + ", job=" + job + ", ownsJobWorkerExecutor=" + ownsJobWorkerExecutor + ", defaultJobWorkerStreamEnabled=" + defaultJobWorkerStreamEnabled + ", requestTimeout=" + requestTimeout + '}' ;
235
226
}
236
227
237
228
public static class Broker {
238
229
230
+ @ Override
231
+ public String toString () {
232
+ return "Broker{" + "gatewayAddress='" + gatewayAddress + '\'' + ", keepAlive=" + keepAlive + '}' ;
233
+ }
234
+
239
235
private String gatewayAddress ;
240
236
private Duration keepAlive = DEFAULT .getKeepAlive ();
241
237
@@ -293,16 +289,15 @@ public int hashCode() {
293
289
return Objects .hash (gatewayAddress , keepAlive );
294
290
}
295
291
292
+ }
293
+
294
+ public static class Cloud {
295
+
296
296
@ Override
297
297
public String toString () {
298
- return "Broker{" +
299
- "gatewayAddress='" + gatewayAddress + '\'' +
300
- ", keepAlive=" + keepAlive +
301
- '}' ;
298
+ return "Cloud{" + "clusterId='" + clusterId + '\'' + ", clientId='" + clientId + '\'' + ", clientSecret='" + clientSecret + '\'' + ", region='" + region + '\'' + ", scope='" + scope + '\'' + ", baseUrl='" + baseUrl + '\'' + ", authUrl='" + authUrl + '\'' + ", port=" + port + ", credentialsCachePath='" + credentialsCachePath + '\'' + '}' ;
302
299
}
303
- }
304
300
305
- public static class Cloud {
306
301
private String clusterId ;
307
302
private String clientId ;
308
303
private String clientSecret ;
@@ -399,6 +394,11 @@ public String getGatewayAddress() {
399
394
}
400
395
401
396
public static class Worker {
397
+ @ Override
398
+ public String toString () {
399
+ return "Worker{" + "maxJobsActive=" + maxJobsActive + ", threads=" + threads + ", defaultName='" + defaultName + '\'' + ", defaultType='" + defaultType + '\'' + ", override=" + override + '}' ;
400
+ }
401
+
402
402
private Integer maxJobsActive = DEFAULT .getDefaultJobWorkerMaxJobsActive ();
403
403
private Integer threads = DEFAULT .getNumJobWorkerExecutionThreads ();
404
404
private String defaultName = null ; // setting NO default in Spring, as bean/method name is used as default
@@ -462,19 +462,15 @@ public int hashCode() {
462
462
return Objects .hash (maxJobsActive , threads , defaultName , defaultType , override );
463
463
}
464
464
465
+ }
466
+
467
+ public static class Job {
468
+
465
469
@ Override
466
470
public String toString () {
467
- return "Worker{" +
468
- "maxJobsActive=" + maxJobsActive +
469
- ", threads=" + threads +
470
- ", defaultName='" + defaultName + '\'' +
471
- ", defaultType='" + defaultType + '\'' +
472
- ", override=" + override +
473
- '}' ;
471
+ return "Job{" + "timeout=" + timeout + ", pollInterval=" + pollInterval + '}' ;
474
472
}
475
- }
476
473
477
- public static class Job {
478
474
private Duration timeout = DEFAULT .getDefaultJobTimeout ();
479
475
private Duration pollInterval = DEFAULT .getDefaultJobPollInterval ();
480
476
@@ -508,16 +504,15 @@ public int hashCode() {
508
504
return Objects .hash (timeout , pollInterval );
509
505
}
510
506
507
+ }
508
+
509
+ public static class Message {
510
+
511
511
@ Override
512
512
public String toString () {
513
- return "Job{" +
514
- "timeout=" + timeout +
515
- ", pollInterval=" + pollInterval +
516
- '}' ;
513
+ return "Message{" + "timeToLive=" + timeToLive + ", maxMessageSize=" + maxMessageSize + '}' ;
517
514
}
518
- }
519
515
520
- public static class Message {
521
516
private Duration timeToLive = DEFAULT .getDefaultMessageTimeToLive ();
522
517
private int maxMessageSize = DEFAULT .getMaxMessageSize ();
523
518
@@ -550,15 +545,15 @@ public int hashCode() {
550
545
return Objects .hash (timeToLive );
551
546
}
552
547
548
+ }
549
+
550
+ public static class Security {
551
+
553
552
@ Override
554
553
public String toString () {
555
- return "Message{" +
556
- "timeToLive=" + timeToLive +
557
- '}' ;
554
+ return "Security{" + "plaintext=" + plaintext + ", overrideAuthority='" + overrideAuthority + '\'' + ", certPath='" + certPath + '\'' + '}' ;
558
555
}
559
- }
560
556
561
- public static class Security {
562
557
private boolean plaintext = DEFAULT .isPlaintextConnectionEnabled ();
563
558
private String overrideAuthority = DEFAULT .getOverrideAuthority ();
564
559
private String certPath = DEFAULT .getCaCertificatePath ();
@@ -600,14 +595,6 @@ public int hashCode() {
600
595
return Objects .hash (plaintext , overrideAuthority , certPath );
601
596
}
602
597
603
- @ Override
604
- public String toString () {
605
- return "Security{" +
606
- "plaintext=" + plaintext +
607
- ", overrideAuthority='" + overrideAuthority + '\'' +
608
- ", certPath='" + certPath + '\'' +
609
- '}' ;
610
- }
611
598
}
612
599
613
600
public String getGatewayAddress () {
0 commit comments