Package org.openhab.core.scriptengine

Examples of org.openhab.core.scriptengine.ScriptExecutionThread.start()


      logger.debug("Executing rule '{}'", rule.getName());
     
      context.setGlobalContext(RuleContextHelper.getContext(rule));
     
      ScriptExecutionThread thread = new ScriptExecutionThread(rule.getName(), script, context);
      thread.start();
    }

    protected synchronized void executeRules(Iterable<Rule> rules) {
      executeRules(rules, new RuleEvaluationContext());
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.