Interface KieRuntimeService<S,U,T extends EfestoInput<S>,E extends EfestoOutput<U>,K extends EfestoRuntimeContext>
-
public interface KieRuntimeService<S,U,T extends EfestoInput<S>,E extends EfestoOutput<U>,K extends EfestoRuntimeContext>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, K context)Every engine is responsible to verify if it can evaluate a result with the resource of the givenT(that contains a specificLocalUri)Optional<E>evaluateInput(T toEvaluate, K context)Produce oneEfestoOutputfrom the givenEfestoInputorg.kie.efesto.common.api.cache.EfestoClassKeygetEfestoClassKeyIdentifier()StringgetModelType()Return the model type that the RuntimeService handles
-
-
-
Method Detail
-
getEfestoClassKeyIdentifier
org.kie.efesto.common.api.cache.EfestoClassKey getEfestoClassKeyIdentifier()
-
canManageInput
boolean canManageInput(EfestoInput toEvaluate, K context)
Every engine is responsible to verify if it can evaluate a result with the resource of the givenT(that contains a specificLocalUri)- Parameters:
toEvaluate-context-- Returns:
-
evaluateInput
Optional<E> evaluateInput(T toEvaluate, K context)
Produce oneEfestoOutputfrom the givenEfestoInput- Parameters:
toEvaluate-context-- Returns:
-
getModelType
String getModelType()
Return the model type that the RuntimeService handles- Returns:
- model type
-
-