/RuleNGN-Spring

RuleNGN for Spring implementation

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

RuleNGN-Spring

RuleNGN for Spring implementation

Description

RuleNGN is a impementation of RuleChain design pattern. It provides ability to if/elese code blocks in class implementation as rules.

Type of rule chains

Rules can be chain with conditioins like

  • one rule to match
  • all rules to match

Type of rules

By default RuleNGNG will stop exuection of next rule if previous rule is failed. This behavour can be overriden with @OptionRule annotation.

Diagram

RuleNGN

RuleNGN-1

RuleNGN 2