Class FeaturePackInstaller
- java.lang.Object
-
- org.jboss.galleon.maven.plugin.util.FeaturePackInstaller
-
public class FeaturePackInstaller extends java.lang.Object- Author:
- Emmanuel Hugonnet (c) 2018 Red Hat, inc., Alexey Loubyansky (c) 2018 Red Hat, inc.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FeaturePackInstallerexcludePackage(java.lang.String packageName)FeaturePackInstallerexcludePackages(java.util.List<java.lang.String> packageNames)FeaturePackInstallerincludeConfig(ConfigurationId configId)FeaturePackInstallerincludeConfigs(java.util.List<ConfigurationId> configIds)FeaturePackInstallerincludePackage(java.lang.String packageName)FeaturePackInstallerincludePackages(java.util.List<java.lang.String> packageNames)voidinstall()static FeaturePackInstallernewInstance(java.nio.file.Path repoHome, java.nio.file.Path installationDir)FeaturePackInstallersetCustomConfig(java.nio.file.Path customConfig)FeaturePackInstallersetFpl(org.jboss.galleon.universe.FeaturePackLocation fpl)FeaturePackInstallersetInheritConfigs(boolean inheritConfigs)FeaturePackInstallersetInheritPackages(boolean inheritPackages)FeaturePackInstallersetLocalArtifact(java.nio.file.Path localPath)FeaturePackInstallersetPluginOption(java.lang.String option)FeaturePackInstallersetPluginOption(java.lang.String option, java.lang.String value)FeaturePackInstallersetPluginOptions(java.util.Map<java.lang.String,java.lang.String> options)FeaturePackInstallersetRecordState(boolean recordState)
-
-
-
Method Detail
-
newInstance
public static FeaturePackInstaller newInstance(java.nio.file.Path repoHome, java.nio.file.Path installationDir)
-
setFpl
public FeaturePackInstaller setFpl(org.jboss.galleon.universe.FeaturePackLocation fpl)
-
setLocalArtifact
public FeaturePackInstaller setLocalArtifact(java.nio.file.Path localPath)
-
setInheritConfigs
public FeaturePackInstaller setInheritConfigs(boolean inheritConfigs)
-
includeConfig
public FeaturePackInstaller includeConfig(ConfigurationId configId)
-
includeConfigs
public FeaturePackInstaller includeConfigs(java.util.List<ConfigurationId> configIds)
-
setCustomConfig
public FeaturePackInstaller setCustomConfig(java.nio.file.Path customConfig)
-
setInheritPackages
public FeaturePackInstaller setInheritPackages(boolean inheritPackages)
-
includePackage
public FeaturePackInstaller includePackage(java.lang.String packageName)
-
includePackages
public FeaturePackInstaller includePackages(java.util.List<java.lang.String> packageNames)
-
excludePackage
public FeaturePackInstaller excludePackage(java.lang.String packageName)
-
excludePackages
public FeaturePackInstaller excludePackages(java.util.List<java.lang.String> packageNames)
-
setPluginOption
public FeaturePackInstaller setPluginOption(java.lang.String option)
-
setPluginOption
public FeaturePackInstaller setPluginOption(java.lang.String option, java.lang.String value)
-
setPluginOptions
public FeaturePackInstaller setPluginOptions(java.util.Map<java.lang.String,java.lang.String> options)
-
setRecordState
public FeaturePackInstaller setRecordState(boolean recordState)
-
install
public void install()
-
-