Package org.wildfly.galleon.maven
Class FeatureSpecExporter
- java.lang.Object
-
- org.wildfly.galleon.maven.FeatureSpecExporter
-
public class FeatureSpecExporter extends java.lang.Object- Author:
- Emmanuel Hugonnet (c) 2017 Red Hat, inc.
-
-
Constructor Summary
Constructors Constructor Description FeatureSpecExporter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidexport(org.jboss.dmr.ModelNode node, java.nio.file.Path directory, java.util.Map<java.lang.String,java.lang.String> inheritedFeatures)static java.util.List<org.jboss.galleon.spec.FeatureSpec>readFeatureSpecs(org.jboss.dmr.ModelNode node, java.util.Map<java.lang.String,java.lang.String> inheritedFeatures)static voidsaveFeatureSpecs(java.nio.file.Path directory, java.util.List<org.jboss.galleon.spec.FeatureSpec> specs)
-
-
-
Method Detail
-
export
public static void export(org.jboss.dmr.ModelNode node, java.nio.file.Path directory, java.util.Map<java.lang.String,java.lang.String> inheritedFeatures) throws java.io.IOException, org.jboss.galleon.ProvisioningDescriptionException, javax.xml.stream.XMLStreamException- Throws:
java.io.IOExceptionorg.jboss.galleon.ProvisioningDescriptionExceptionjavax.xml.stream.XMLStreamException
-
readFeatureSpecs
public static java.util.List<org.jboss.galleon.spec.FeatureSpec> readFeatureSpecs(org.jboss.dmr.ModelNode node, java.util.Map<java.lang.String,java.lang.String> inheritedFeatures) throws org.jboss.galleon.ProvisioningDescriptionException- Throws:
org.jboss.galleon.ProvisioningDescriptionException
-
saveFeatureSpecs
public static void saveFeatureSpecs(java.nio.file.Path directory, java.util.List<org.jboss.galleon.spec.FeatureSpec> specs) throws org.jboss.galleon.ProvisioningDescriptionException, java.io.IOException, javax.xml.stream.XMLStreamException- Throws:
org.jboss.galleon.ProvisioningDescriptionExceptionjava.io.IOExceptionjavax.xml.stream.XMLStreamException
-
-