@@ -117,24 +117,18 @@ public static List<EventDefinition> getDefinedEvents(
117117 .collect (Collectors .toList ());
118118 }
119119
120- /**
121- * @return {@code int} Returns count of defined event count matching eventKind
122- */
120+ /** @return {@code int} Returns count of defined event count matching eventKind */
123121 public static int getDefinedEventsCount (Workflow workflow , EventDefinition .Kind eventKind ) {
124122 List <EventDefinition > definedEvents = getDefinedEvents (workflow , eventKind );
125123 return definedEvents == null ? 0 : definedEvents .size ();
126124 }
127125
128- /**
129- * @return {@code int} Returns count of Defined Consumed Event Count
130- */
126+ /** @return {@code int} Returns count of Defined Consumed Event Count */
131127 public static int getDefinedConsumedEventsCount (Workflow workflow ) {
132128 return getDefinedEventsCount (workflow , EventDefinition .Kind .CONSUMED );
133129 }
134130
135- /**
136- * @return {@code int} Returns count of Defined Produced Event Count
137- */
131+ /** @return {@code int} Returns count of Defined Produced Event Count */
138132 public static int getDefinedProducedEventsCount (Workflow workflow ) {
139133 return getDefinedEventsCount (workflow , EventDefinition .Kind .PRODUCED );
140134 }
@@ -258,9 +252,7 @@ public static int getWorkflowProducedEventsCount(Workflow workflow) {
258252 return workflowProducedEvents == null ? 0 : workflowProducedEvents .size ();
259253 }
260254
261- /**
262- * @return Returns function definition for actions
263- */
255+ /** @return Returns function definition for actions */
264256 public static FunctionDefinition getFunctionDefinitionsForAction (
265257 Workflow workflow , String action ) {
266258 if (!hasFunctionDefs (workflow )) return null ;
@@ -275,9 +267,7 @@ public static FunctionDefinition getFunctionDefinitionsForAction(
275267 return functionDefinition .isPresent () ? functionDefinition .get () : null ;
276268 }
277269
278- /**
279- * @return : Returns @{code List<Action>} which uses a function defintion
280- */
270+ /** @return : Returns @{code List<Action>} which uses a function defintion */
281271 public static List <Action > getActionsForFunctionDefinition (
282272 Workflow workflow , String functionDefinitionName ) {
283273 if (!hasFunctionDefs (workflow , functionDefinitionName )) return null ;
0 commit comments