Package org.wildfly.prospero.galleon
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) 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
-
getSourceServerPath
-