Interface KieCompilerService
-
public interface KieCompilerServiceThe compilation-related interface to be implemented by engine-plugin. It will be looked for with SPI, so each engine should declare that implementation insidesrc/main/resources/META-INF/services/org.kie.efesto.compilationmanager.api.service.KieCompilerServicefile
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends EfestoResource>
booleancanManageResource(T toProcess)<T extends EfestoResource,E extends EfestoCompilationOutput>
List<E>processResource(T toProcess, EfestoCompilationContext context)Produce oneEfrom the givenT
-
-
-
Method Detail
-
canManageResource
<T extends EfestoResource> boolean canManageResource(T toProcess)
-
processResource
<T extends EfestoResource,E extends EfestoCompilationOutput> List<E> processResource(T toProcess, EfestoCompilationContext context)
Produce oneEfrom the givenTImplementation 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:
-
-