@Tags(value={"rules","rules-engine","facts","actions"}) @CapabilityDescription(value="Specifies a Controller Service which hosts a rules engine, that can be used to determine actions that should be performed given provided facts.") public interface RulesEngineService extends ControllerService
A Controller Service that is responsible for executing rules engine against provided facts. The subsequent
actions can be executed either by the rules engine or a list of Action can be returned and interrogated/executed by
the caller.
| Modifier and Type | Method and Description |
|---|---|
List<Action> |
fireRules(Map<String,Object> facts)
Returns the list of Actions that should be triggered as determined by the rules engine for the the given facts.
|
initializegetIdentifier, getPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validateList<Action> fireRules(Map<String,Object> facts)
facts - a Map of key and facts values, as objects, that should be evaluated by the rules engineCopyright © 2020 Apache NiFi Project. All rights reserved.