fixing style

Signed-off-by: salaboy <Salaboy@gmail.com>
This commit is contained in:
salaboy 2025-08-26 11:50:04 +01:00
parent 9c673d513d
commit cf2c87ad07
1 changed files with 19 additions and 3 deletions

View File

@ -55,6 +55,14 @@ public class WorkflowTaskOptions {
}
}
/**
* Constructor for WorkflowTaskOptions with retry policy and app ID.
*
* @param retryPolicy the retry policy
* @param appId the app ID for cross-app activity calls
*
* @throws RuntimeException if appId is set
*/
public WorkflowTaskOptions(WorkflowTaskRetryPolicy retryPolicy, String appId) {
this(retryPolicy, null, appId);
if (appId != null) {
@ -62,6 +70,14 @@ public class WorkflowTaskOptions {
}
}
/**
* Constructor for WorkflowTaskOptions with retry handler and app ID.
*
* @param retryHandler the retry handler
* @param appId the app ID for cross-app activity calls
*
* @throws RuntimeException if appId is set
*/
public WorkflowTaskOptions(WorkflowTaskRetryHandler retryHandler, String appId) {
this(null, retryHandler, appId);
if (appId != null) {