Skip to content

Commit

Permalink
Add more comment to workflow interface
Browse files Browse the repository at this point in the history
  • Loading branch information
longquanzheng committed Dec 12, 2022
1 parent 3c22688 commit 12f34b9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/java/io/github/cadenceoss/iwf/core/Workflow.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ default List<CommunicationMethodDef> getCommunicationSchema() {
return Collections.emptyList();
}

/**
* Define the workflowType of this workflow definition. By default(when return empty string), it's the simple name of the workflow instance,
* which should be the case for most scenarios.
* <p>
* In case of dynamic workflow implementation, return customized values based on constructor input.
*/
default String getWorkflowType() {
return "";
}
Expand Down

0 comments on commit 12f34b9

Please sign in to comment.