public class RuleExecutorImpl extends java.lang.Object implements RuleExecutor
| Constructor and Description |
|---|
RuleExecutorImpl(io.vertx.core.Vertx vertx,
java.util.function.Function<cn.geekcity.xiot.spec.device.Device,io.vertx.core.Future<cn.geekcity.xiot.spec.image.DeviceImage>> getImage,
cn.geekcity.xiot.spec.time.service.DayService day,
RuleService rule,
RuleAgentService agent,
cc.openxiot.gateway.device.typedef.manager.DeviceManager manager) |
| Modifier and Type | Method and Description |
|---|---|
void |
tryExecute(cn.geekcity.xiot.spec.rule.Rule r,
cn.geekcity.xiot.spec.time.service.DayService day) |
void |
tryExecute(cn.geekcity.xiot.spec.rule.Rule r,
cn.geekcity.xiot.spec.operation.EventOperation trigger) |
void |
tryExecute(cn.geekcity.xiot.spec.rule.Rule r,
cn.geekcity.xiot.spec.operation.PropertyOperation trigger) |
io.vertx.core.Future<java.lang.Void> |
tryExecute(java.lang.String ruleId) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreatepublic RuleExecutorImpl(io.vertx.core.Vertx vertx,
java.util.function.Function<cn.geekcity.xiot.spec.device.Device,io.vertx.core.Future<cn.geekcity.xiot.spec.image.DeviceImage>> getImage,
cn.geekcity.xiot.spec.time.service.DayService day,
RuleService rule,
RuleAgentService agent,
cc.openxiot.gateway.device.typedef.manager.DeviceManager manager)
public io.vertx.core.Future<java.lang.Void> tryExecute(java.lang.String ruleId)
tryExecute in interface RuleExecutorpublic void tryExecute(cn.geekcity.xiot.spec.rule.Rule r,
cn.geekcity.xiot.spec.operation.PropertyOperation trigger)
tryExecute in interface RuleExecutorpublic void tryExecute(cn.geekcity.xiot.spec.rule.Rule r,
cn.geekcity.xiot.spec.operation.EventOperation trigger)
tryExecute in interface RuleExecutorpublic void tryExecute(cn.geekcity.xiot.spec.rule.Rule r,
cn.geekcity.xiot.spec.time.service.DayService day)
tryExecute in interface RuleExecutor