이 콘텐츠는 선택한 언어로 제공되지 않습니다.
Chapter 10. Functions
10.1. Functions 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
Functions are a way to put semantic code in a rule source file, as opposed to in normal Java classes. The main advantage of using functions in a rule is that you can keep the logic all in one place. You can change the functions as needed.
Functions are most useful for invoking actions on the consequence (
then) part of a rule, especially if that particular action is used repeatedly.