psdi.util

Class FeatureToggleGenerator

  • java.lang.Object
    • psdi.util.FeatureToggleGenerator


  • public class FeatureToggleGenerator
    extends java.lang.Object
    Autogenerate the FeatureManager class from the json configuration files.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void generateCode()
      Generate code from XML
      static void main(java.lang.String[] args)
      Generate java code.
      • Methods inherited from class java.lang.Object

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

      • FeatureToggleGenerator

        public FeatureToggleGenerator()
    • Method Detail

      • main

        public static void main(java.lang.String[] args)
                         throws java.io.IOException
        Generate java code.
        Parameters:
        args -
        Throws:
        java.io.IOException
        SAXException
        ParserConfigurationException
      • generateCode

        public void generateCode()
                          throws java.io.IOException
        Generate code from XML
        Parameters:
        xmlFile -
        javaFile -
        Throws:
        ParserConfigurationException
        SAXException
        java.io.IOException