Class GalleonFeaturePackAnalyzer


  • public class GalleonFeaturePackAnalyzer
    extends Object
    • Constructor Detail

      • GalleonFeaturePackAnalyzer

        public GalleonFeaturePackAnalyzer​(List<org.wildfly.channel.Channel> channels,
                                          MavenSessionManager mavenSessionManager)
    • Method Detail

      • cacheGalleonArtifacts

        public void cacheGalleonArtifacts​(Path installedDir,
                                          org.jboss.galleon.config.ProvisioningConfig 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 List<String> getFeaturePacks​(org.jboss.galleon.config.ProvisioningConfig provisioningConfig)
                                     throws IOException,
                                            org.jboss.galleon.ProvisioningException,
                                            OperationException
        lists maven coordinates (groupId:artifactId) of FeaturePacks included in the provisioningConfig. Includes transitive dependencies.
        Parameters:
        provisioningConfig - - provisioning config to analyze
        Returns:
        Throws:
        IOException
        org.jboss.galleon.ProvisioningException
        OperationException