项目作者: d-shap

项目描述 :
Conditional values simplify conditional logic and get rid of if-statements in the code
高级语言: Java
项目地址: git://github.com/d-shap/conditional-values.git
创建时间: 2020-01-08T08:20:46Z
项目社区:https://github.com/d-shap/conditional-values

开源协议:

下载


Conditional values

Conditional values simplify conditional logic and get rid of if-statements in the code.

Conditional values is a Decision Table implementation.

Decision Table represents a set of conditions and corresponding actions for these conditions.
This Decision Table is created during a design time.

During a runtime Decision Table is used to find best matching conditions based on the current context.
So during a runtime a context and created and lookup is performed for this context.
The result of lookup is used to perform actions, corresponding to the triggered conditions.