Class FeatureSpecGenerator

  • All Implemented Interfaces:
    org.wildfly.galleon.plugin.server.ForkCallback

    public class FeatureSpecGenerator
    extends java.lang.Object
    implements org.wildfly.galleon.plugin.server.ForkCallback
    Author:
    Alexey Loubyansky
    • Constructor Summary

      Constructors 
      Constructor Description
      FeatureSpecGenerator()
      This ctor has to be called only by reflection
      FeatureSpecGenerator​(java.lang.String installation, java.nio.file.Path outputDir, java.util.Map<java.lang.String,​java.nio.file.Path> inheritedSpecs, boolean fork, boolean debug)  
    • Constructor Detail

      • FeatureSpecGenerator

        public FeatureSpecGenerator()
        This ctor has to be called only by reflection
      • FeatureSpecGenerator

        public FeatureSpecGenerator​(java.lang.String installation,
                                    java.nio.file.Path outputDir,
                                    java.util.Map<java.lang.String,​java.nio.file.Path> inheritedSpecs,
                                    boolean fork,
                                    boolean debug)
    • Method Detail

      • generateSpecs

        public int generateSpecs()
                          throws org.jboss.galleon.ProvisioningException
        Throws:
        org.jboss.galleon.ProvisioningException
      • forkedForEmbedded

        public void forkedForEmbedded​(java.lang.String... args)
                               throws org.wildfly.galleon.plugin.server.ConfigGeneratorException
        Specified by:
        forkedForEmbedded in interface org.wildfly.galleon.plugin.server.ForkCallback
        Throws:
        org.wildfly.galleon.plugin.server.ConfigGeneratorException
      • forkedEmbeddedMessage

        public void forkedEmbeddedMessage​(java.lang.String msg)
        Specified by:
        forkedEmbeddedMessage in interface org.wildfly.galleon.plugin.server.ForkCallback
      • getStoredSystemProps

        protected java.nio.file.Path getStoredSystemProps()
                                                   throws org.jboss.galleon.ProvisioningException
        Throws:
        org.jboss.galleon.ProvisioningException
      • getStandaloneSpecsFile

        protected java.nio.file.Path getStandaloneSpecsFile()
                                                     throws org.jboss.galleon.ProvisioningException
        Throws:
        org.jboss.galleon.ProvisioningException
      • getDomainSpecsFile

        protected java.nio.file.Path getDomainSpecsFile()
                                                 throws org.jboss.galleon.ProvisioningException
        Throws:
        org.jboss.galleon.ProvisioningException
      • getInheritedSpec

        protected org.jboss.galleon.spec.FeatureSpec getInheritedSpec​(java.lang.String name)
                                                               throws org.jboss.galleon.ProvisioningException
        Throws:
        org.jboss.galleon.ProvisioningException