主权项 |
1. A method comprising:
storing a behavior builder registry on a computer-readable storage device operatively coupled to a processor, the behavior builder registry comprising a plurality of behaviors constraints supported by a rule engine and a plurality of builders associated with the plurality of behaviors constraints; compiling, by the processor, a plurality of rules using the behavior builder registry to generate a network comprising a plurality of nodes; parsing patterns defined by the plurality of rules to identify a set of behavior constraints, wherein each behavior constraint comprise a power to veto a data object; associating one of the plurality of builders with each of the set of behavior constraints according to the behavior builder registry; propagating a first data object into a first node of the network, wherein the first beta node is associated with a first behavioral constraint; and checking, by the processor, the first behavioral constraint at the first node to determine whether to veto the first data object before applying a regular constraint at the first node on the first data object, wherein the first data object is not propagated by the first node if the behavioral constraint vetoes the first data object. |