Examples of execute()


Examples of org.gradle.internal.concurrent.StoppableExecutor.execute()

        List<InetAddress> addresses = allowRemote ? addressFactory.findRemoteAddresses() : addressFactory.findLocalAddresses();
        final Address address = new MultiChoiceAddress(id, localPort, addresses);
        LOGGER.debug("Listening on {}.", address);

        final StoppableExecutor executor = executorFactory.create(String.format("Incoming %s TCP Connector on port %s", allowRemote ? "remote" : "local", localPort));
        executor.execute(new Receiver(serverSocket, action, allowRemote));

        return new ConnectionAcceptor() {
            public Address getAddress() {
                return address;
            }
View Full Code Here

Examples of org.gradle.language.base.internal.tasks.SimpleStaleClassCleaner.execute()

    @TaskAction
    public void assemble() {
        SimpleStaleClassCleaner cleaner = new SimpleStaleClassCleaner(getOutputs());
        cleaner.setDestinationDir(getObjectFileDir());
        cleaner.execute();

        DefaultAssembleSpec spec = new DefaultAssembleSpec();
        spec.setTempDir(getTemporaryDir());

        spec.setObjectFileDir(getObjectFileDir());
View Full Code Here

Examples of org.gradle.language.base.internal.tasks.StaleClassCleaner.execute()

    @Override
    protected void copy() {
        StaleClassCleaner cleaner = new SimpleStaleClassCleaner(getOutputs());
        cleaner.setDestinationDir(getDestinationDir());
        cleaner.execute();
        super.copy();
    }
}
View Full Code Here

Examples of org.gradle.process.internal.ExecAction.execute()

        return javaExecAction.execute();
    }

    public ExecResult exec(Closure cl) {
        ExecAction execAction = ConfigureUtil.configure(cl, new DefaultExecAction(fileResolver));
        return execAction.execute();
    }
}
View Full Code Here

Examples of org.gradle.process.internal.JavaExecAction.execute()

        this.deleteAction = deleteAction;
    }

    public ExecResult javaexec(Closure cl) {
        JavaExecAction javaExecAction = ConfigureUtil.configure(cl, new DefaultJavaExecAction(fileResolver));
        return javaExecAction.execute();
    }

    public ExecResult exec(Closure cl) {
        ExecAction execAction = ConfigureUtil.configure(cl, new DefaultExecAction(fileResolver));
        return execAction.execute();
View Full Code Here

Examples of org.grouplens.lenskit.util.parallel.TaskGraphExecutor.execute()

        } else {
            exec = TaskGraphExecutor.create(nthreads);
        }

        try {
            exec.execute(graph);
        } catch (ExecutionException e) {
            Throwables.propagateIfInstanceOf(e.getCause(), TaskExecutionException.class);
            throw new TaskExecutionException("error in evaluation job task", e.getCause());
        }
    }
View Full Code Here

Examples of org.gvt.command.CreateCommand.execute()

  protected NodeUtil util;

  public BioPAXCompoundNode(CompoundModel root)
  {
    CreateCommand command = new CreateCommand(root, this);
    command.execute();

    this.references = new ArrayList<XRef>();
    this.util = new NodeUtil(this);
  }
View Full Code Here

Examples of org.gvt.command.CreateConnectionCommand.execute()

   
    CreateConnectionCommand ccc = new CreateConnectionCommand();
    ccc.setSource(source);
    ccc.setTarget(target);
    ccc.setConnection(this);
    ccc.execute();
  }

  public BioPAXEdge(BioPAXEdge excised, Map<NodeModel, NodeModel> map)
  {
    this(map.get(excised.getSource()), map.get(excised.getTarget()));
View Full Code Here

Examples of org.gvt.command.DeleteCommand.execute()

        NodeModel node = (NodeModel) childEditPart.getModel();
        DeleteCommand command = new DeleteCommand();
        command.setChild(node);
        EditPart parent = childEditPart.getParent();
        command.setParent((CompoundModel) parent.getModel());
        command.execute();
      }
      // else if it is an edge, DeleteConnectionCommand is called
      else if (childEditPart instanceof ChsEdgeEditPart)
      {
        {
View Full Code Here

Examples of org.gvt.command.DeleteConnectionCommand.execute()

      {
        {
          DeleteConnectionCommand command
            = new DeleteConnectionCommand();
          command.setConnectionModel(childEditPart.getModel());
          command.execute();
        }
      }
    }
  }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.