Interface KieRuntimeService<S,U,T extends EfestoInput<S>,E extends EfestoOutput<U>>
-
public interface KieRuntimeService<S,U,T extends EfestoInput<S>,E extends EfestoOutput<U>>The 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.runtimemanager.api.service.KieRuntimeServicefile
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanManageInput(EfestoInput toEvaluate, org.kie.memorycompiler.KieMemoryCompiler.MemoryCompilerClassLoader memoryCompilerClassLoader)Every engine is responsible to verify if it can evaluate a result with the resource of the givenT(that contains a specificFRI)Optional<E>evaluateInput(T toEvaluate, org.kie.memorycompiler.KieMemoryCompiler.MemoryCompilerClassLoader memoryCompilerClassLoader)Produce oneEfestoOutputfrom the givenEfestoInput
-
-
-
Method Detail
-
canManageInput
boolean canManageInput(EfestoInput toEvaluate, org.kie.memorycompiler.KieMemoryCompiler.MemoryCompilerClassLoader memoryCompilerClassLoader)
Every engine is responsible to verify if it can evaluate a result with the resource of the givenT(that contains a specificFRI)- Parameters:
toEvaluate-memoryCompilerClassLoader-- Returns:
-
-