for (DriverInputBase<?> port : flow.inputs) {
String label = String.format("Input(flow=%s, name=%s)", id, port.getName());
Class<?> type = port.getModelType();
DataModelSourceFactory source = port.getSource();
if (source != null) {
moderator.validate(type, label, source);
}
}
for (DriverOutputBase<?> port : flow.outputs) {
String label = String.format("Output(flow=%s, name=%s)", id, port.getName());
Class<?> type = port.getModelType();