Class JavaConsumerCallExecutor<T>

java.lang.Object
io.serverlessworkflow.impl.executors.func.JavaConsumerCallExecutor<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 JavaConsumerCallExecutor<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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    accept(Class<? extends io.serverlessworkflow.api.types.TaskBase> clazz)
     
    io.serverlessworkflow.impl.executors.CallableTask
     
    void
    init(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, wait

    Methods inherited from interface io.serverlessworkflow.impl.ServicePriority

    compareTo, priority
  • Constructor Details

    • JavaConsumerCallExecutor

      public JavaConsumerCallExecutor()
  • 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:
      init in interface io.serverlessworkflow.impl.executors.CallableTaskBuilder<T>
    • accept

      public boolean accept(Class<? extends io.serverlessworkflow.api.types.TaskBase> clazz)
      Specified by:
      accept in interface io.serverlessworkflow.impl.executors.CallableTaskBuilder<T>
    • build

      public io.serverlessworkflow.impl.executors.CallableTask build()
      Specified by:
      build in interface io.serverlessworkflow.impl.executors.CallableTaskBuilder<T>