Package org.wildfly.prospero.actions
Class ProvisioningAction
- java.lang.Object
-
- org.wildfly.prospero.actions.ProvisioningAction
-
public class ProvisioningAction extends Object
-
-
Constructor Summary
Constructors Constructor Description ProvisioningAction(Path installDir, MavenOptions mvnOptions, Console console)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<License>getPendingLicenses(org.jboss.galleon.config.ProvisioningConfig provisioningConfig, List<org.wildfly.channel.Channel> channels)List agreements and licenses that need to be accepted before installing the required Feature Packs.voidprovision(org.jboss.galleon.config.ProvisioningConfig provisioningConfig, List<org.wildfly.channel.Channel> channels)Provision installation according to given ProvisioningDefinition.
-
-
-
Constructor Detail
-
ProvisioningAction
public ProvisioningAction(Path installDir, MavenOptions mvnOptions, Console console) throws org.jboss.galleon.ProvisioningException
- Throws:
org.jboss.galleon.ProvisioningException
-
-
Method Detail
-
provision
public void provision(org.jboss.galleon.config.ProvisioningConfig provisioningConfig, List<org.wildfly.channel.Channel> channels) throws org.jboss.galleon.ProvisioningException, OperationException, MalformedURLExceptionProvision installation according to given ProvisioningDefinition. NOTE: All required licenses are assumed to be accepted by calling this method.- Parameters:
provisioningConfig- prospero provisioning definitionchannels- list of channels to resolve installed artifacts- Throws:
org.jboss.galleon.ProvisioningExceptionOperationExceptionMalformedURLException
-
getPendingLicenses
public List<License> getPendingLicenses(org.jboss.galleon.config.ProvisioningConfig provisioningConfig, List<org.wildfly.channel.Channel> channels)
List agreements and licenses that need to be accepted before installing the required Feature Packs.- Parameters:
provisioningConfig- - list of Feature Packs being installedchannels- - list of channels used to resolve the Feature Packs- Returns:
- - list of
License, or empty list if no licenses were required
-
-