Package org.beangle.ems.rule.engine.impl
Class CompositeExecutor
- java.lang.Object
-
- org.beangle.ems.rule.engine.impl.CompositeExecutor
-
- All Implemented Interfaces:
RuleExecutor
public class CompositeExecutor extends Object implements RuleExecutor
组合规则执行者- Author:
- chaostone
-
-
Constructor Summary
Constructors Constructor Description CompositeExecutor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(RuleExecutor executor)booleanexecute(Context context)List<RuleExecutor>getExecutors()booleanisStopWhenFail()voidsetExecutors(List<RuleExecutor> executors)voidsetStopWhenFail(boolean stopWhenFailure)
-
-
-
Method Detail
-
execute
public boolean execute(Context context)
- Specified by:
executein interfaceRuleExecutor
-
add
public void add(RuleExecutor executor)
-
getExecutors
public List<RuleExecutor> getExecutors()
-
setExecutors
public void setExecutors(List<RuleExecutor> executors)
-
isStopWhenFail
public boolean isStopWhenFail()
-
setStopWhenFail
public void setStopWhenFail(boolean stopWhenFailure)
-
-