/** * Builds the {@link TransformInvocation}. * * @return a new {@link TransformInvocation} with the specified inputs. */ TransformInvocation build() { if (outputProvider == null) { throw new IllegalArgumentException("Output provider needs to be specified."); } return new CustomTransformInvocation(inputs, referencedInputs, outputProvider); }