Skip to content

Commit 12f34b9

Browse files
committed
Add more comment to workflow interface
1 parent 3c22688 commit 12f34b9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main/java/io/github/cadenceoss/iwf/core/Workflow.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ default List<CommunicationMethodDef> getCommunicationSchema() {
5353
return Collections.emptyList();
5454
}
5555

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

0 commit comments

Comments
 (0)