mirror of https://github.com/dapr/java-sdk.git
parent
9c673d513d
commit
cf2c87ad07
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue