File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed
src/main/java/com/uber/cadence/migration Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 2222import com .uber .cadence .activity .ActivityMethod ;
2323
2424public 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+ */
2531 @ ActivityMethod
2632 StartWorkflowInNewResponse startWorkflowInNewDomain (StartWorkflowExecutionRequest request );
2733
34+ /**
35+ * Cancels a workflow execution in the current domain.
36+ *
37+ * @param request The request to cancel the workflow.
38+ */
2839 @ ActivityMethod
2940 void cancelWorkflowInCurrentDomain (RequestCancelWorkflowExecutionRequest request );
3041}
Original file line number Diff line number Diff line change 2121
2222public class StartWorkflowInNewResponse {
2323 StartWorkflowExecutionResponse startWorkflowExecutionResponse ;
24- String message ;
24+ String status ;
2525
2626 StartWorkflowInNewResponse (StartWorkflowExecutionResponse startWorkflowResponse , String msg ) {
2727 startWorkflowExecutionResponse = startWorkflowResponse ;
28- message = msg ;
28+ status = msg ;
2929 }
3030}
You can’t perform that action at this time.
0 commit comments