这是一个例子,通过Student类来说明规则引擎的实际应用。Student定义在TL_STUDENT中(参考数据库) 在本例子中,我们构建了一组student对象, 同时配置一个简单的规则,如果学生年龄>7岁,或者学生年龄<3岁,则认为不可以读幼儿园, 这个时候在显示出来。 规则配置文件时studentrule.xml,这个文件需要在ruleEngine.properties中配置。 @param args
(String[] args)
source not stored for this graph (policy: none)
nothing calls this directly
no test coverage detected