private final ModelProducer modelProducer;
private final ActionRunner actionRunner;
public ModelBuilderBackedConsumerConnection(ConnectionVersion4 delegate, ModelMapping modelMapping, ProtocolToModelAdapter adapter) {
super(delegate, new R16VersionDetails(delegate.getMetaData().getVersion()));
ModelBuilder builder = (ModelBuilder) delegate;
ModelProducer modelProducer = new ModelBuilderBackedModelProducer(adapter, getVersionDetails(), modelMapping, builder);
modelProducer = new GradleBuildAdapterProducer(adapter, modelProducer);
modelProducer = new BuildInvocationsAdapterProducer(adapter, getVersionDetails(), modelProducer);
this.modelProducer = modelProducer;
this.actionRunner = new UnsupportedActionRunner(getVersionDetails());