Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
Added javadoc to decideWithLock method
Browse files Browse the repository at this point in the history
  • Loading branch information
Boyan Georgiev committed Oct 18, 2023
1 parent 97b45b9 commit 89543d6
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1027,6 +1027,13 @@ public WorkflowModel decide(String workflowId) {
}
}

/**
* This method overloads the com.netflix.conductor.core.execution.WorkflowExecutor#decide(java.lang.String).
* It will acquire a lock and evaluate the state of the workflow.
*
* @param workflow the workflow to evaluate the state for
* @return the workflow
*/
public WorkflowModel decideWithLock(WorkflowModel workflow) {
if (workflow == null) {
return null;
Expand Down

0 comments on commit 89543d6

Please sign in to comment.