Skip to content

Commit

Permalink
updated code
Browse files Browse the repository at this point in the history
  • Loading branch information
Shailesh Jagannath Padave committed Nov 18, 2024
1 parent d9b623b commit 37a11d1
Showing 1 changed file with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<String> pauseWorkflow(List<String> workflowIds) {

Expand All @@ -71,7 +71,7 @@ public BulkResponse<String> pauseWorkflow(List<String> 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<String> resumeWorkflow(List<String> workflowIds) {
BulkResponse<String> bulkResponse = new BulkResponse<>();
Expand All @@ -97,7 +97,7 @@ public BulkResponse<String> resumeWorkflow(List<String> 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<String> restart(List<String> workflowIds, boolean useLatestDefinitions) {
BulkResponse<String> bulkResponse = new BulkResponse<>();
Expand All @@ -122,7 +122,7 @@ public BulkResponse<String> restart(List<String> 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<String> retry(List<String> workflowIds) {
BulkResponse<String> bulkResponse = new BulkResponse<>();
Expand All @@ -149,7 +149,7 @@ public BulkResponse<String> retry(List<String> 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<String> terminate(List<String> workflowIds, String reason) {
BulkResponse<String> bulkResponse = new BulkResponse<>();
Expand Down Expand Up @@ -202,7 +202,7 @@ public BulkResponse<String> deleteWorkflow(List<String> 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<String> terminateRemove(
List<String> workflowIds, String reason, boolean archiveWorkflow) {
Expand Down Expand Up @@ -260,6 +260,4 @@ public BulkResponse<WorkflowModel> searchWorkflow(List<String> workflowIds, bool
}
return bulkResponse;
}


}

0 comments on commit 37a11d1

Please sign in to comment.