Class DecisionCodegen

    • Constructor Detail

      • DecisionCodegen

        public DecisionCodegen​(java.util.List<DMNResource> resources)
    • Method Detail

      • ofJar

        public static DecisionCodegen ofJar​(java.nio.file.Path... jarPaths)
                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • ofJar

        public static DecisionCodegen ofJar​(java.util.List<java.lang.String> dependencies,
                                            java.nio.file.Path... jarPaths)
                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • ofPath

        public static DecisionCodegen ofPath​(java.nio.file.Path... paths)
                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • ofPath

        public static DecisionCodegen ofPath​(java.util.List<java.lang.String> dependencies,
                                             java.nio.file.Path... paths)
                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • ofFiles

        public static DecisionCodegen ofFiles​(java.nio.file.Path basePath,
                                              java.util.List<java.io.File> files)
                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • setPackageName

        public void setPackageName​(java.lang.String packageName)
      • generate

        public java.util.List<GeneratedFile> generate()
        Description copied from interface: Generator
        Returns the collection of all the files that have been generated/compiled
      • updateConfig

        public void updateConfig​(ConfigGenerator cfg)
        Description copied from interface: Generator
        Consumes the given ConfigGenerator so that it can enrich it with further, Generator-specific details. This is automatically called by the ApplicationGenerator.
      • getGeneratedFiles

        public java.util.List<GeneratedFile> getGeneratedFiles()
      • section

        public ApplicationSection section()
        Description copied from interface: Generator
        Returns the "section" of the Application class corresponding to rules. e.g the processes() method with processes().createMyProcess() etc.
      • withMonitoring

        public DecisionCodegen withMonitoring​(boolean useMonitoring)