Class JavaConsumerCallExecutorBuilder<T>
java.lang.Object
io.serverlessworkflow.impl.executors.func.JavaConsumerCallExecutorBuilder<T>
- All Implemented Interfaces:
io.serverlessworkflow.impl.executors.CallableTaskBuilder<io.serverlessworkflow.api.types.func.CallJava.CallJavaConsumer<T>>,io.serverlessworkflow.impl.ServicePriority,Comparable<io.serverlessworkflow.impl.ServicePriority>
public class JavaConsumerCallExecutorBuilder<T>
extends Object
implements io.serverlessworkflow.impl.executors.CallableTaskBuilder<io.serverlessworkflow.api.types.func.CallJava.CallJavaConsumer<T>>
-
Field Summary
Fields inherited from interface io.serverlessworkflow.impl.ServicePriority
DEFAULT_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanio.serverlessworkflow.impl.executors.CallableTaskbuild()voidinit(io.serverlessworkflow.api.types.func.CallJava.CallJavaConsumer<T> task, io.serverlessworkflow.impl.WorkflowDefinition definition, io.serverlessworkflow.impl.WorkflowMutablePosition position) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.serverlessworkflow.impl.ServicePriority
compareTo, priority
-
Constructor Details
-
JavaConsumerCallExecutorBuilder
public JavaConsumerCallExecutorBuilder()
-
-
Method Details
-
init
public void init(io.serverlessworkflow.api.types.func.CallJava.CallJavaConsumer<T> task, io.serverlessworkflow.impl.WorkflowDefinition definition, io.serverlessworkflow.impl.WorkflowMutablePosition position) - Specified by:
initin interfaceio.serverlessworkflow.impl.executors.CallableTaskBuilder<T>
-
accept
- Specified by:
acceptin interfaceio.serverlessworkflow.impl.executors.CallableTaskBuilder<T>
-
build
public io.serverlessworkflow.impl.executors.CallableTask build()- Specified by:
buildin interfaceio.serverlessworkflow.impl.executors.CallableTaskBuilder<T>
-