@@ -292,7 +292,7 @@ public static FuncPredicateEventConfigurer event(String type) {
292292 * <pre>{@code
293293 * function("processData", (Long input) -> input + 5, Long.class),
294294 * function("combineData", (Long enrichedValue) -> enrichedValue, Long.class)
295- * .enrichInputWith ((lastState, rootInputModel) -> {
295+ * .inputFrom(enriched ((lastState, rootInputModel) -> {
296296 * Long rootInput = rootInputModel.as(Long.class).orElse(0L);
297297 * return lastState + rootInput;
298298 * }, Long.class)
@@ -322,7 +322,7 @@ public static <T, R> JavaContextFunction<T, R> enriched(
322322 *
323323 * <pre>{@code
324324 * function("processData", (Long input) -> input * 2, Long.class)
325- * .enrichWithInput( rootInput -> rootInput.asNumber().orElseThrow())
325+ * inputFrom(enriched( rootInput -> rootInput.asNumber().orElseThrow() ))
326326 * }</pre>
327327 *
328328 * @param fn the function that receives the root workflow input and returns the enriched result
@@ -347,7 +347,7 @@ public static <R> JavaContextFunction<Object, R> enriched(Function<WorkflowModel
347347 *
348348 * <pre>{@code
349349 * function("processData", (Long input) -> input + 5, Long.class)
350- * .outputAs(FuncDSL.enrichWithModel ((taskOutput, rootInputModel) -> {
350+ * .outputAs(FuncDSL.enrichedOutput ((taskOutput, rootInputModel) -> {
351351 * Long rootInput = rootInputModel.as(Long.class).orElse(0L);
352352 * return taskOutput + rootInput;
353353 * }, Long.class))
@@ -377,7 +377,7 @@ public static <T, R> JavaContextFunction<T, R> enrichedOutput(
377377 *
378378 * <pre>{@code
379379 * function("processData", (Long input) -> input * 2, Long.class)
380- * .outputAs(FuncDSL.enrichWithInput (rootInput -> rootInput.asNumber().orElseThrow()))
380+ * .outputAs(FuncDSL.enrichedOutput (rootInput -> rootInput.asNumber().orElseThrow()))
381381 * }</pre>
382382 *
383383 * @param fn the function that receives the root workflow input and returns the enriched result
0 commit comments