|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=METHOD) @Retention(value=RUNTIME) public @interface Accept
This annotation is used to indicate that method is a filter method for a multi-fact inference method. The purpose of this annotation is similar to Override annotation, i.e. it ensures that accept methods are properly bound to rules container inference infrastructure. This annotation is checked at runtime after rule instantiation, as opposed to compile-time check of Override.
| Optional Element Summary | |
|---|---|
double |
cost
Cost of accept condition evaluation. |
String |
method
|
int[] |
parameterPositions
|
Class<?>[] |
parameterTypes
|
public abstract String method
public abstract Class<?>[] parameterTypes
public abstract int[] parameterPositions
public abstract double cost
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||