Class FeatureSpecGenerator
- java.lang.Object
-
- org.wildfly.galleon.plugin.featurespec.generator.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 reflectionFeatureSpecGenerator(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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidforkedEmbeddedMessage(java.lang.String msg)voidforkedForEmbedded(java.lang.String... args)intgenerateSpecs()protected java.nio.file.PathgetDomainSpecsFile()protected org.jboss.galleon.spec.FeatureSpecgetInheritedSpec(java.lang.String name)protected java.nio.file.PathgetStandaloneSpecsFile()protected java.nio.file.PathgetStoredSystemProps()
-
-
-
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:
forkedForEmbeddedin interfaceorg.wildfly.galleon.plugin.server.ForkCallback- Throws:
org.wildfly.galleon.plugin.server.ConfigGeneratorException
-
forkedEmbeddedMessage
public void forkedEmbeddedMessage(java.lang.String msg)
- Specified by:
forkedEmbeddedMessagein interfaceorg.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
-
-