public function activateEndpoint(Endpoint $newActive, $force = false)
    {
        if (!$this->getEndpoints()->contains($newActive)) {
            throw new InputException('Endpoint is not part of this manager');
        }

        if ($force === false && $this->canBeActivated($newActive) === false) {
            throw new InputException('Can not activate this endpoint');
        }

        $this->disableAll();
        $newActive->setStatus(Endpoint::STATUS_ACTIVE);

        return $newActive;
    }