Class GalleonEnvironment.Builder

java.lang.Object
org.wildfly.prospero.galleon.GalleonEnvironment.Builder
Enclosing class:
GalleonEnvironment

public static class GalleonEnvironment.Builder extends Object
  • Method Details

    • setConsole

      public GalleonEnvironment.Builder setConsole(Console console)
    • setProvisioningConfig

      public GalleonEnvironment.Builder setProvisioningConfig(org.jboss.galleon.api.config.GalleonProvisioningConfig config)
    • setRestoreManifest

      public GalleonEnvironment.Builder setRestoreManifest(org.wildfly.channel.ChannelManifest manifest)
    • setRestoreManifest

      public GalleonEnvironment.Builder setRestoreManifest(org.wildfly.channel.ChannelManifest manifest, org.wildfly.prospero.metadata.ManifestVersionRecord manifestVersions)
      use the manifest to resolve artifact versions instead of defined channels. If manifestVersions is provided, they will be pre-loaded for maven cache.
      Parameters:
      manifest -
      manifestVersions -
      Returns:
    • setResolvedFpTracker

      public GalleonEnvironment.Builder setResolvedFpTracker(Consumer<String> fpTracker)
    • build

      public GalleonEnvironment build() throws org.jboss.galleon.ProvisioningException, OperationException
      Throws:
      org.jboss.galleon.ProvisioningException
      OperationException
    • setSourceServerPath

      public GalleonEnvironment.Builder setSourceServerPath(Path sourceServerPath)
    • setArtifactDirectResolve

      public GalleonEnvironment.Builder setArtifactDirectResolve(boolean artifactDirectResolve)
      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

      public Path getSourceServerPath()