动态规则引擎类图
2019-08-05 10:11:44 0 举报
规则引擎动态生成规则
作者其他创作
大纲/内容
RuleGenerator
+ generateRules((List<RuleDTO> ruleDTOs)):void- applyRuleTemplate(RuleDTO ruleDTO):Stringspan style=\"font-size: inherit;\
RoleDTO
- String roleId- String power
<<interface>>RuleService
RuleExecutor
# ReleaseId releaseId- static KieBase kieBase
ActivityRule
- Integer id- Integer taskId- String event- String ruleValue- Integer priority- String authorityValue- int deleted
RuleController
+ useRule() ....
FactManager
- buildProperty(Class c)+ getFactClassByEvent(String event)+ initFactDescription()
RuleExecuteGlobal
- String roleId- String orderId- BaseFact factObj- RuleExecutorResult result
RoleInfoFact
- String power
RuleDTO
- ActivityRule rule- Date beginTime- Date endTime
RuleExecutorResult
- int count- int success- int failure
<<@interface>>Fact
ActivityEvent value(); String prefix() default \"\";
BaseFact
- String roleId- String roleName- RoleInfoFact roleInfoFact
+ addCount()+ addFailure() + addSuccess()
KieServices
0 条评论
下一页