public function getServer($name)
    {

        // try to match one of the server names with the passed name
        /** @var \AppserverIo\Appserver\Core\Api\Node\ServerNodeInterface $server */
        foreach ($this->getServers() as $server) {
            if ($name === $server->getName()) {
                return $server;
            }
        }
    }