Class ClassProcessorDispatcher

java.lang.Object
com.fluxtion.generator.compiler.ClassProcessorDispatcher
All Implemented Interfaces:
java.util.function.BiConsumer<java.net.URL,​java.io.File>

public class ClassProcessorDispatcher
extends java.lang.Object
implements java.util.function.BiConsumer<java.net.URL,​java.io.File>
A utility function that dispatches a URL for ClassProcessor to process. Uses {@link ServiceLoader>} facility to load user created processors at run-time. The loaded ClassProcessor can examine and generate artifacts as necessary. User
Author:
V12 Technology Ltd.
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  ClassProcessorDispatcher.DirectoryNames  
  • Constructor Summary

    Constructors 
    Constructor Description
    ClassProcessorDispatcher()  
  • Method Summary

    Modifier and Type Method Description
    void accept​(java.net.URL url, java.io.File baseDir)  
    static ClassProcessorDispatcher.DirectoryNames standardParamsHelper​(io.github.classgraph.AnnotationParameterValueList params, java.io.File rootDir, java.io.File generatedDir, java.io.File resourceDir)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.function.BiConsumer

    andThen
  • Constructor Details

  • Method Details

    • accept

      public void accept​(java.net.URL url, java.io.File baseDir)
      Specified by:
      accept in interface java.util.function.BiConsumer<java.net.URL,​java.io.File>
    • standardParamsHelper

      public static ClassProcessorDispatcher.DirectoryNames standardParamsHelper​(io.github.classgraph.AnnotationParameterValueList params, java.io.File rootDir, java.io.File generatedDir, java.io.File resourceDir) throws java.io.IOException
      Throws:
      java.io.IOException