Class GalleonFeaturePackAnalyzer

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

public class GalleonFeaturePackAnalyzer extends Object
  • Constructor Details

    • GalleonFeaturePackAnalyzer

      public GalleonFeaturePackAnalyzer(List<org.wildfly.channel.Channel> channels, MavenSessionManager mavenSessionManager)
  • 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