File tree 2 files changed +13
-2
lines changed
src/main/java/com/uber/cadence/migration
2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 22
22
import com .uber .cadence .activity .ActivityMethod ;
23
23
24
24
public interface MigrationActivities {
25
+ /**
26
+ * Starts a new workflow execution in a new domain.
27
+ *
28
+ * @param request The request to start the workflow in new domain.
29
+ * @return A response indicating the status of the operation.
30
+ */
25
31
@ ActivityMethod
26
32
StartWorkflowInNewResponse startWorkflowInNewDomain (StartWorkflowExecutionRequest request );
27
33
34
+ /**
35
+ * Cancels a workflow execution in the current domain.
36
+ *
37
+ * @param request The request to cancel the workflow.
38
+ */
28
39
@ ActivityMethod
29
40
void cancelWorkflowInCurrentDomain (RequestCancelWorkflowExecutionRequest request );
30
41
}
Original file line number Diff line number Diff line change 21
21
22
22
public class StartWorkflowInNewResponse {
23
23
StartWorkflowExecutionResponse startWorkflowExecutionResponse ;
24
- String message ;
24
+ String status ;
25
25
26
26
StartWorkflowInNewResponse (StartWorkflowExecutionResponse startWorkflowResponse , String msg ) {
27
27
startWorkflowExecutionResponse = startWorkflowResponse ;
28
- message = msg ;
28
+ status = msg ;
29
29
}
30
30
}
You can’t perform that action at this time.
0 commit comments