![]() |
|
In general, a rule can return any type of result that makes sense for the
business purpose of the rule. The return type on the fire method is java.lang.Object
so
any Java object can be returned, including arrays. You cannot return a Java
primitive since the results must be an Object, however you can return the
Object form of the primitives. For example, you can return a java.lang.Integer
instead
of an int
.
Related concepts... | |
Rule States | |
Rule Attributes | |
Dependent rules | |
Rule Folders | |
View PDF file... | |
To view a PDF file containing this article and related articles, click: | |
![]() | |
![]() |
![]() |