@Override
public Input find(Protocol protocol) {
for (InputCondition each : this.conditions) {
if (each.matcher().match(protocol)) {
Input input = each.input();
this.log.debug("Input " + input.getClass() + " for " + protocol.getClass());
return each.input();
}
}
return this.nothing;
}