Rules Context
-
Invoker other named rules from any of the rules engine sub system
-
Context Variable: rules
API Interface
//Invoke a list of named rules sequentially or parallelly
Object invoke(boolean parallel, List<String> names);
//Invoke a list of named rules sequentially
Object invoke(List<String> names);
//Invoke a list of named rules sequentially with argument map
Object invoke(Map<String, Object> args, List<String> names);
//Invoke one or more named rule sequentially or parallelly with argument map
Object invoke(boolean parallel, Map<String, Object> args, String... names);
//Invoke one or more named rule sequentially or parallelly
Object invoke(boolean parallel, String... names);
//Invoke one or more named rule sequentially
Object invoke(String... names);
//Invoke one or more named rule sequentially with argument map
Object invoke(Map<String, Object> args, String... names);
//Invoke a list of named rules sequentially or parallelly with argument map, returns the results if any
Object invoke(boolean parallel, Map<String, Object> args, List<String> names);
//Broadcast a named rule and return a list of results
Collection<Serializable> broadcast(String name);
//Broadcast a named rule and return a list of results
Collection<Serializable> broadcast(String name, Map<String, Object> args);
//Distribute a named rule with argument map
boolean distribute(String name, Map<String, Object> args);
//Distribute a named rule
boolean distribute(String name);
APIs Inherited
Updated about 3 years ago