MCPcopy
hub / github.com/j-easy/easy-rules / Action

Interface Action

easy-rules-core/src/main/java/org/jeasy/rules/api/Action.java:31–41  ·  view source on GitHub ↗

This interface represents a rule's action. @author Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com)

Source from the content-addressed store, hash-verified

29 * @author Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com)
30 */
31@FunctionalInterface
32public interface Action {
33
34 /**
35 * Execute the action when the rule's condition evaluates to true.
36 *
37 * @param facts known at the time of execution of the action
38 * @throws Exception when unable to execute the action
39 */
40 void execute(Facts facts) throws Exception;
41}

Callers

nothing calls this directly

Implementers 15

MVELActioneasy-rules-mvel/src/main/java/org/jeas
SpELActioneasy-rules-spel/src/main/java/org/jeas
DecreaseTemperatureActioneasy-rules-tutorials/src/main/java/org
JexlActioneasy-rules-jexl/src/main/java/org/jeas
MVELRuleeasy-rules-mvel/src/main/java/org/jeas
BasicRuleeasy-rules-core/src/main/java/org/jeas
DefaultRuleeasy-rules-core/src/main/java/org/jeas
SpELRuleeasy-rules-spel/src/main/java/org/jeas
MyAnnotatedRuleeasy-rules-support/src/test/java/org/j
TestRuleeasy-rules-support/src/test/java/org/j
UnitRuleGroupeasy-rules-support/src/main/java/org/j
CompositeRuleeasy-rules-support/src/main/java/org/j

Calls

no outgoing calls

Tested by

no test coverage detected