18
18
package com .uber .cadence .internal .replay ;
19
19
20
20
import com .uber .cadence .ActivityType ;
21
+ import com .uber .cadence .WorkflowExecution ;
21
22
import com .uber .cadence .common .RetryOptions ;
22
23
import java .util .Arrays ;
23
24
24
25
public class ExecuteLocalActivityParameters {
25
26
27
+ private String workflowDomain ;
28
+ private WorkflowExecution workflowExecution ;
26
29
private String activityId ;
27
30
private ActivityType activityType ;
28
31
private byte [] input ;
@@ -211,9 +214,30 @@ public void setElapsedTime(long startTime) {
211
214
this .elapsedTime = startTime ;
212
215
}
213
216
217
+ public String getWorkflowDomain () {
218
+ return workflowDomain ;
219
+ }
220
+
221
+ public void setWorkflowDomain (String workflowDomain ) {
222
+ this .workflowDomain = workflowDomain ;
223
+ }
224
+
225
+ public WorkflowExecution getWorkflowExecution () {
226
+ return workflowExecution ;
227
+ }
228
+
229
+ public void setWorkflowExecution (WorkflowExecution workflowExecution ) {
230
+ this .workflowExecution = workflowExecution ;
231
+ }
232
+
214
233
@ Override
215
234
public String toString () {
216
- return "ExecuteActivityParameters{"
235
+ return "ExecuteLocalActivityParameters{"
236
+ + "workflowDomain='"
237
+ + workflowDomain
238
+ + '\''
239
+ + ", workflowExecution="
240
+ + workflowExecution
217
241
+ "activityId='"
218
242
+ activityId
219
243
+ '\''
@@ -223,6 +247,12 @@ public String toString() {
223
247
+ Arrays .toString (input )
224
248
+ ", scheduleToCloseTimeoutSeconds="
225
249
+ scheduleToCloseTimeoutSeconds
250
+ + ", retryOptions="
251
+ + retryOptions
252
+ + ", elapsedTime="
253
+ + elapsedTime
254
+ + ", attempt="
255
+ + attempt
226
256
+ '}' ;
227
257
}
228
258
}
0 commit comments