/** * Uninstalls the specified feature-pack. * * @param fpid feature-pack ID * @throws ProvisioningException in case the uninstallation fails */ public void uninstall(FeaturePackLocation.FPID fpid) throws ProvisioningException { uninstall(fpid, Collections.emptyMap()); }
@Override protected void doRunCommand(PmCommandInvocation session, Map<String, String> options) throws CommandExecutionException { try { getManager(session).uninstall(getFPID(session.getPmSession()), options); } catch (ProvisioningException | IOException e) { throw new CommandExecutionException(session.getPmSession(), CliErrors.uninstallFailed(), e); } }