/** * Installs a feature-pack provided as a local archive. * This method calls install(featurePack, true). * * @param featurePack path to feature-pack archive * @throws ProvisioningException in case installation fails */ public void install(Path featurePack) throws ProvisioningException { install(featurePack, true); }
/** * Installs the desired feature-pack configuration. * * @param fpConfig the desired feature-pack configuration * @throws ProvisioningException in case the installation fails */ public void install(FeaturePackConfig fpConfig) throws ProvisioningException { install(fpConfig, Collections.emptyMap()); }
/** * Installs the specified feature-pack. * * @param fpl feature-pack location * @throws ProvisioningException in case the installation fails */ public void install(FeaturePackLocation fpl) throws ProvisioningException { install(FeaturePackConfig.forLocation(fpl)); }
/** * Installs the specified feature-pack taking into account provided plug-in options. * * @param fpl feature-pack location * @param options plug-in options * @throws ProvisioningException in case the installation fails */ public void install(FeaturePackLocation fpl, Map<String, String> options) throws ProvisioningException { install(FeaturePackConfig.forLocation(fpl), options); }
/** * Installs a feature-pack provided as a local archive. * * @param featurePack path to feature-pack archive * @param installInUniverse whether to install the feature-pack artifact into the universe repository * @throws ProvisioningException in case installation fails */ public void install(Path featurePack, boolean installInUniverse) throws ProvisioningException { install(getLayoutFactory().addLocal(featurePack, installInUniverse)); }
manager.install(fpConfigBuilder.build(), pluginOptions); } catch (ProvisioningException ex) { throw new IllegalArgumentException("Couldn't install the feature pack " + fpGav, ex);
manager.install(fpConfigBuilder.build(), pluginOptions); } catch (ProvisioningException ex) { throw new IllegalArgumentException("Couldn't install feature-pack " + fpl, ex);
String configurations = (String) getValue(DEFAULT_CONFIGS_OPTION_NAME); if (configurations == null) { manager.install(loc, options); } else { final ProvisioningConfig.Builder builder = ProvisioningConfig.builder();