Class JavaFunctionCallExecutor<T,V>
java.lang.Object
io.serverlessworkflow.impl.executors.func.JavaFunctionCallExecutor<T,V>
- All Implemented Interfaces:
io.serverlessworkflow.impl.executors.CallableTask<io.serverlessworkflow.api.types.func.CallJava.CallJavaFunction<T,V>>
public class JavaFunctionCallExecutor<T,V>
extends Object
implements io.serverlessworkflow.impl.executors.CallableTask<io.serverlessworkflow.api.types.func.CallJava.CallJavaFunction<T,V>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompletableFuture<io.serverlessworkflow.impl.WorkflowModel>apply(io.serverlessworkflow.impl.WorkflowContext workflowContext, io.serverlessworkflow.impl.TaskContext taskContext, io.serverlessworkflow.impl.WorkflowModel input) voidinit(io.serverlessworkflow.api.types.func.CallJava.CallJavaFunction<T, V> task, io.serverlessworkflow.impl.WorkflowDefinition definition)
-
Constructor Details
-
JavaFunctionCallExecutor
public JavaFunctionCallExecutor()
-
-
Method Details
-
init
public void init(io.serverlessworkflow.api.types.func.CallJava.CallJavaFunction<T, V> task, io.serverlessworkflow.impl.WorkflowDefinition definition) - Specified by:
initin interfaceio.serverlessworkflow.impl.executors.CallableTask<T>
-
apply
public CompletableFuture<io.serverlessworkflow.impl.WorkflowModel> apply(io.serverlessworkflow.impl.WorkflowContext workflowContext, io.serverlessworkflow.impl.TaskContext taskContext, io.serverlessworkflow.impl.WorkflowModel input) - Specified by:
applyin interfaceio.serverlessworkflow.impl.executors.CallableTask<T>
-
accept
- Specified by:
acceptin interfaceio.serverlessworkflow.impl.executors.CallableTask<T>
-