Class TaskInput.Collection<E>

java.lang.Object
net.javasauce.ss.util.task.TaskIO<List<E>>
net.javasauce.ss.util.task.TaskInput<List<E>>
net.javasauce.ss.util.task.TaskInput.Collection<E>
All Implemented Interfaces:
Supplier<List<E>>
Enclosing class:
TaskInput<T>

public static final class TaskInput.Collection<E> extends TaskInput<List<E>>
An input which can represent multiple things, and multiple dependencies.
  • Method Details

    • set

      public void set(List<TaskOutput<E>> outputs)
      Set the input to a collection of the supplied outputs.

      The outputs will be dynamically collected into a List, in the same order they are supplied. This will mark the task as requiring all supplied task outputs.

      Parameters:
      outputs - The outputs.