Package org.wildfly.prospero.cli
Class ActionFactory
java.lang.Object
org.wildfly.prospero.cli.ActionFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplyUpdate(Path installationPath, Path updatePath) exportAction(Path targetPath) featuresAddAction(Path installationDir, MavenOptions mavenOptions, List<org.wildfly.channel.Repository> repositories, Console console) install(Path targetPath, MavenOptions mavenOptions, Console console) metadataActions(Path targetPath) restoreAction(Path targetPath, MavenOptions mavenOptions, Console console) update(Path targetPath, MavenOptions mavenOptions, Console console, List<org.wildfly.channel.Repository> additionalRepositories)
-
Constructor Details
-
ActionFactory
public ActionFactory()
-
-
Method Details
-
install
public ProvisioningAction install(Path targetPath, MavenOptions mavenOptions, Console console) throws org.jboss.galleon.ProvisioningException - Throws:
org.jboss.galleon.ProvisioningException
-
update
public UpdateAction update(Path targetPath, MavenOptions mavenOptions, Console console, List<org.wildfly.channel.Repository> additionalRepositories) throws OperationException, org.jboss.galleon.ProvisioningException - Throws:
OperationExceptionorg.jboss.galleon.ProvisioningException
-
applyUpdate
public ApplyCandidateAction applyUpdate(Path installationPath, Path updatePath) throws OperationException, org.jboss.galleon.ProvisioningException - Throws:
OperationExceptionorg.jboss.galleon.ProvisioningException
-
history
-
metadataActions
- Throws:
MetadataException
-
promoter
-
exportAction
-
restoreAction
public InstallationRestoreAction restoreAction(Path targetPath, MavenOptions mavenOptions, Console console) throws org.jboss.galleon.ProvisioningException - Throws:
org.jboss.galleon.ProvisioningException
-
featuresAddAction
public FeaturesAddAction featuresAddAction(Path installationDir, MavenOptions mavenOptions, List<org.wildfly.channel.Repository> repositories, Console console) throws org.jboss.galleon.ProvisioningException, MetadataException - Throws:
org.jboss.galleon.ProvisioningExceptionMetadataException
-