Class FeatureSpecExporter


  • public class FeatureSpecExporter
    extends java.lang.Object
    Author:
    Emmanuel Hugonnet (c) 2017 Red Hat, inc.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void export​(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 void saveFeatureSpecs​(java.nio.file.Path directory, java.util.List<org.jboss.galleon.spec.FeatureSpec> specs)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FeatureSpecExporter

        public FeatureSpecExporter()
    • 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.IOException
        org.jboss.galleon.ProvisioningDescriptionException
        javax.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.ProvisioningDescriptionException
        java.io.IOException
        javax.xml.stream.XMLStreamException