Refactor 2 of the NumberOfInputs setting in JobGraphBuilder