public ActionAwareConsumerConnection(
     ConnectionVersion4 delegate, ModelMapping modelMapping, ProtocolToModelAdapter adapter) {
   super(delegate, getVersionDetails(delegate.getMetaData().getVersion()));
   ModelProducer modelProducer =
       new ModelBuilderBackedModelProducer(
           adapter, getVersionDetails(), modelMapping, (ModelBuilder) delegate);
   if (!getVersionDetails().maySupportModel(BuildInvocations.class)) {
     modelProducer =
         new BuildInvocationsAdapterProducer(adapter, getVersionDetails(), modelProducer);
   }
   this.modelProducer = modelProducer;
   this.actionRunner =
       new InternalBuildActionExecutorBackedActionRunner((InternalBuildActionExecutor) delegate);
 }
Ejemplo n.º 2
0
 public String getDisplayName() {
   return delegate.getMetaData().getDisplayName();
 }
Ejemplo n.º 3
0
 public void stop() {
   delegate.stop();
 }