Class GalleonEnvironment.Builder
java.lang.Object
org.wildfly.prospero.galleon.GalleonEnvironment.Builder
- Enclosing class:
GalleonEnvironment
-
Method Summary
Modifier and TypeMethodDescriptionbuild()setArtifactDirectResolve(boolean artifactDirectResolve) Resolving the artifacts directly without checking the channel manifest or not.setConsole(Console console) setFilterManifest(Path filterManifest) Manifest used by version resolver to filter component versions.setMavenSettings(org.apache.maven.settings.Settings mavenSettings) Maven settings file to use for retrieving authentication credentials.setProvisioningConfig(org.jboss.galleon.api.config.GalleonProvisioningConfig config) setResolvedFpTracker(Consumer<String> fpTracker) setRestoreManifest(org.wildfly.channel.ChannelManifest manifest) setRestoreManifest(org.wildfly.channel.ChannelManifest manifest, org.wildfly.prospero.metadata.ManifestVersionRecord manifestVersions) use themanifestto resolve artifact versions instead of defined channels.setSourceServerPath(Path sourceServerPath)
-
Method Details
-
setConsole
-
setProvisioningConfig
public GalleonEnvironment.Builder setProvisioningConfig(org.jboss.galleon.api.config.GalleonProvisioningConfig config) -
setRestoreManifest
-
setRestoreManifest
public GalleonEnvironment.Builder setRestoreManifest(org.wildfly.channel.ChannelManifest manifest, org.wildfly.prospero.metadata.ManifestVersionRecord manifestVersions) use themanifestto resolve artifact versions instead of defined channels. IfmanifestVersionsis provided, they will be pre-loaded for maven cache.- Parameters:
manifest-manifestVersions-- Returns:
-
setResolvedFpTracker
-
build
public GalleonEnvironment build() throws org.jboss.galleon.ProvisioningException, OperationException- Throws:
org.jboss.galleon.ProvisioningExceptionOperationException
-
setSourceServerPath
-
setArtifactDirectResolve
Resolving the artifacts directly without checking the channel manifest or not.- Parameters:
artifactDirectResolve- true if resolving directly, false otherwise.- Returns:
- this for fluent api
-
setMavenSettings
public GalleonEnvironment.Builder setMavenSettings(org.apache.maven.settings.Settings mavenSettings) Maven settings file to use for retrieving authentication credentials. -
setFilterManifest
Manifest used by version resolver to filter component versions. This is used to identify component versions intended for specific product stream. -
getSourceServerPath
-