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 inside
src/main/resources/META-INF/services/org.kie.efesto.runtimemanager.api.service.KieRuntimeService file-
Method Summary
Modifier and TypeMethodDescriptionbooleancanManageInput(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)evaluateInput(T toEvaluate, K context) Produce oneEfestoOutputfrom the givenEfestoInputReturn the model type that the RuntimeService handles
-
Method Details
-
getEfestoClassKeyIdentifier
EfestoClassKey getEfestoClassKeyIdentifier() -
canManageInput
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
Produce oneEfestoOutputfrom the givenEfestoInput- Parameters:
toEvaluate-context-- Returns:
-
getModelType
String getModelType()Return the model type that the RuntimeService handles- Returns:
- model type
-