Package org.wildfly.prospero.cli
Class ActionFactory
- java.lang.Object
-
- org.wildfly.prospero.cli.ActionFactory
-
public class ActionFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description ActionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplyCandidateActionapplyUpdate(Path installationPath, Path updatePath)InstallationExportActionexportAction(Path targetPath)FeaturesAddActionfeaturesAddAction(Path installationDir, MavenOptions mavenOptions, List<org.wildfly.channel.Repository> repositories, Console console)InstallationHistoryActionhistory(Path targetPath, Console console)ProvisioningActioninstall(Path targetPath, MavenOptions mavenOptions, Console console)MetadataActionmetadataActions(Path targetPath)PromoteArtifactBundleActionpromoter(Console console)InstallationRestoreActionrestoreAction(Path targetPath, MavenOptions mavenOptions, Console console)UpdateActionupdate(Path targetPath, MavenOptions mavenOptions, Console console, List<org.wildfly.channel.Repository> additionalRepositories)
-
-
-
Method Detail
-
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
public InstallationHistoryAction history(Path targetPath, Console console)
-
metadataActions
public MetadataAction metadataActions(Path targetPath) throws MetadataException
- Throws:
MetadataException
-
promoter
public PromoteArtifactBundleAction promoter(Console console)
-
exportAction
public InstallationExportAction exportAction(Path targetPath)
-
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
-
-