io.rouz.flo.BaseRefs Maven / Gradle / Ivy
package io.rouz.flo;
import java.util.Collections;
import java.util.List;
/**
* A convenience class for holding some reference. This is only so that we don't have to repeat
* these declaration in every class above.
*/
class BaseRefs {
final Fn>> inputs;
final TaskId taskId;
protected final Class type;
BaseRefs(TaskId taskId, Class type) {
this(Collections::emptyList, taskId, type);
}
BaseRefs(Fn>> inputs, TaskId taskId, Class type) {
this.inputs = inputs;
this.taskId = taskId;
this.type = type;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy