Class GalleonFeaturePackAnalyzer

java.lang.Object
org.wildfly.prospero.galleon.GalleonFeaturePackAnalyzer

public class GalleonFeaturePackAnalyzer extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    GalleonFeaturePackAnalyzer(List<org.wildfly.channel.Channel> channels, MavenSessionManager mavenSessionManager, org.apache.maven.settings.Settings mavenSettings, Path filterManifest)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheGalleonArtifacts(Path installedDir, org.jboss.galleon.api.config.GalleonProvisioningConfig provisioningConfig)
    Analyzes provisioning information found in installedDir and caches FeaturePack and Galleon plugin artifacts.
    getFeaturePacks(Path installedDir, org.jboss.galleon.api.config.GalleonProvisioningConfig provisioningConfig)
    lists maven coordinates (groupId:artifactId) of FeaturePacks included in the provisioningConfig.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GalleonFeaturePackAnalyzer

      public GalleonFeaturePackAnalyzer(List<org.wildfly.channel.Channel> channels, MavenSessionManager mavenSessionManager, org.apache.maven.settings.Settings mavenSettings, Path filterManifest)
  • Method Details

    • cacheGalleonArtifacts

      public void cacheGalleonArtifacts(Path installedDir, org.jboss.galleon.api.config.GalleonProvisioningConfig provisioningConfig) throws Exception
      Analyzes provisioning information found in installedDir and caches FeaturePack and Galleon plugin artifacts. This complements caching done in Wildfly Galleon Plugin}, as Galleon plugin is not able to access FeaturePack information. The discovered artifacts are cached using ArtifactCache.
      Parameters:
      installedDir - - path to the installation. Used to access the cache
      provisioningConfig - - Galleon configuration to analyze
      Throws:
      Exception
    • getFeaturePacks

      public Set<String> getFeaturePacks(Path installedDir, org.jboss.galleon.api.config.GalleonProvisioningConfig provisioningConfig) throws IOException, org.jboss.galleon.ProvisioningException, OperationException
      lists maven coordinates (groupId:artifactId) of FeaturePacks included in the provisioningConfig. Includes transitive dependencies.
      Parameters:
      installedDir - - path to the installation. Used to access the cache
      provisioningConfig - - provisioning config to analyze
      Returns:
      Throws:
      IOException
      org.jboss.galleon.ProvisioningException
      OperationException