Package org.evrete.dsl.annotation
Annotation Type Where
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionString[]This annotation value defines an array of literal conditions like "[$c.type == $cat.id, $c.rating > 30.0]".
-
Element Details
-
value
String[] valueThis annotation value defines an array of literal conditions like "[$c.type == $cat.id, $c.rating > 30.0]". The implementation must parse and match every condition with the method signature. So in the example above the annotated method might look like
void doSomething(Customer $a, Category $cat)- Returns:
- array of literal conditions
- Default:
- {}
-
methods
MethodPredicate[] methods- Returns:
- array of MethodPredicate conditions
- See Also:
- Default:
- {}
-