@@ -117,18 +117,24 @@ public static List<EventDefinition> getDefinedEvents(
117117 .collect (Collectors .toList ());
118118 }
119119
120- /** @return {@code int} Returns count of defined event count matching eventKind */
120+ /**
121+ * @return {@code int} Returns count of defined event count matching eventKind
122+ */
121123 public static int getDefinedEventsCount (Workflow workflow , EventDefinition .Kind eventKind ) {
122124 List <EventDefinition > definedEvents = getDefinedEvents (workflow , eventKind );
123125 return definedEvents == null ? 0 : definedEvents .size ();
124126 }
125127
126- /** @return {@code int} Returns count of Defined Consumed Event Count */
128+ /**
129+ * @return {@code int} Returns count of Defined Consumed Event Count
130+ */
127131 public static int getDefinedConsumedEventsCount (Workflow workflow ) {
128132 return getDefinedEventsCount (workflow , EventDefinition .Kind .CONSUMED );
129133 }
130134
131- /** @return {@code int} Returns count of Defined Produced Event Count */
135+ /**
136+ * @return {@code int} Returns count of Defined Produced Event Count
137+ */
132138 public static int getDefinedProducedEventsCount (Workflow workflow ) {
133139 return getDefinedEventsCount (workflow , EventDefinition .Kind .PRODUCED );
134140 }
@@ -252,7 +258,9 @@ public static int getWorkflowProducedEventsCount(Workflow workflow) {
252258 return workflowProducedEvents == null ? 0 : workflowProducedEvents .size ();
253259 }
254260
255- /** @return Returns function definition for actions */
261+ /**
262+ * @return Returns function definition for actions
263+ */
256264 public static FunctionDefinition getFunctionDefinitionsForAction (
257265 Workflow workflow , String action ) {
258266 if (!hasFunctionDefs (workflow )) return null ;
@@ -267,7 +275,9 @@ public static FunctionDefinition getFunctionDefinitionsForAction(
267275 return functionDefinition .isPresent () ? functionDefinition .get () : null ;
268276 }
269277
270- /** @return : Returns @{code List<Action>} which uses a function defintion */
278+ /**
279+ * @return : Returns @{code List<Action>} which uses a function defintion
280+ */
271281 public static List <Action > getActionsForFunctionDefinition (
272282 Workflow workflow , String functionDefinitionName ) {
273283 if (!hasFunctionDefs (workflow , functionDefinitionName )) return null ;
0 commit comments