From 37a11d11fbe4cdfce6f15c929ddb10dac1f4234b Mon Sep 17 00:00:00 2001 From: Shailesh Jagannath Padave Date: Mon, 18 Nov 2024 23:01:37 +0530 Subject: [PATCH] updated code --- .../conductor/service/WorkflowBulkServiceImpl.java | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/core/src/main/java/com/netflix/conductor/service/WorkflowBulkServiceImpl.java b/core/src/main/java/com/netflix/conductor/service/WorkflowBulkServiceImpl.java index 715c77b4c..0989c1665 100644 --- a/core/src/main/java/com/netflix/conductor/service/WorkflowBulkServiceImpl.java +++ b/core/src/main/java/com/netflix/conductor/service/WorkflowBulkServiceImpl.java @@ -44,7 +44,7 @@ public WorkflowBulkServiceImpl( * * @param workflowIds - list of workflow Ids to perform pause operation on * @return bulk response object containing a list of succeeded workflows and a list of failed - * ones with errors + * ones with errors */ public BulkResponse pauseWorkflow(List workflowIds) { @@ -71,7 +71,7 @@ public BulkResponse pauseWorkflow(List workflowIds) { * * @param workflowIds - list of workflow Ids to perform resume operation on * @return bulk response object containing a list of succeeded workflows and a list of failed - * ones with errors + * ones with errors */ public BulkResponse resumeWorkflow(List workflowIds) { BulkResponse bulkResponse = new BulkResponse<>(); @@ -97,7 +97,7 @@ public BulkResponse resumeWorkflow(List workflowIds) { * @param workflowIds - list of workflow Ids to perform restart operation on * @param useLatestDefinitions if true, use latest workflow and task definitions upon restart * @return bulk response object containing a list of succeeded workflows and a list of failed - * ones with errors + * ones with errors */ public BulkResponse restart(List workflowIds, boolean useLatestDefinitions) { BulkResponse bulkResponse = new BulkResponse<>(); @@ -122,7 +122,7 @@ public BulkResponse restart(List workflowIds, boolean useLatestD * * @param workflowIds - list of workflow Ids to perform retry operation on * @return bulk response object containing a list of succeeded workflows and a list of failed - * ones with errors + * ones with errors */ public BulkResponse retry(List workflowIds) { BulkResponse bulkResponse = new BulkResponse<>(); @@ -149,7 +149,7 @@ public BulkResponse retry(List workflowIds) { * @param reason - description to be specified for the terminated workflow for future * references. * @return bulk response object containing a list of succeeded workflows and a list of failed - * ones with errors + * ones with errors */ public BulkResponse terminate(List workflowIds, String reason) { BulkResponse bulkResponse = new BulkResponse<>(); @@ -202,7 +202,7 @@ public BulkResponse deleteWorkflow(List workflowIds, boolean arc * @param reason Reason for terminating the workflow. * @param archiveWorkflow Archives the workflow and associated tasks instead of removing them. * @return bulk response object containing a list of succeeded workflows and a list of failed - * ones with errors + * ones with errors */ public BulkResponse terminateRemove( List workflowIds, String reason, boolean archiveWorkflow) { @@ -260,6 +260,4 @@ public BulkResponse searchWorkflow(List workflowIds, bool } return bulkResponse; } - - }