Interface TaskConsumer<I>

  • Type Parameters:
    I - Input type
    All Superinterfaces:
    java.util.function.Consumer<@NonNull I>, TaskRecipeStep
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface TaskConsumer<I>
    extends java.util.function.Consumer<@NonNull I>, TaskRecipeStep
    Task step that does not produce any output
    • Method Summary

      Modifier and Type Method Description
      void accept​(@NonNull I input)
      • Methods inherited from interface java.util.function.Consumer

        andThen
    • Method Detail

      • accept

        void accept​(@NonNull I input)
        Specified by:
        accept in interface java.util.function.Consumer<I>