Interface KieCompilerService


  • public interface KieCompilerService
    The compilation-related interface to be implemented by engine-plugin. It will be looked for with SPI, so each engine should declare that implementation inside src/main/resources/META-INF/services/org.kie.efesto.compilationmanager.api.service.KieCompilerService file
    • Method Detail

      • canManageResource

        <T extends EfestoResource> boolean canManageResource​(T toProcess)
      • processResource

        <T extends EfestoResource,​E extends EfestoCompilationOutputList<E> processResource​(T toProcess,
                                                                                                   EfestoCompilationContext context)
        Produce one E from the given T

        Implementation are also required to generate a "mapping" class, i.e. a class specific for the given model responsible to list all the other generated ones; engine-specific runtimes will look for such class to know if it can manage given resource

        Parameters:
        toProcess -
        context -
        Returns: