getUserInput(JetBackup::ID_FIELD, 0, UserInput::UINT); } /** * @throws DBException * @throws AjaxException * @throws DestinationException * @throws IOException * @throws InvalidArgumentException */ public function execute(): void { if(!$this->getId()) throw new AjaxException("No destination id provided"); $destination = new Destination($this->getId()); if(!$destination->getId()) throw new AjaxException("Invalid destination id provided"); $this->setResponseData($this->isCLI() ? $destination->getDisplayCLI() : $destination->getDisplay()); } }