Package it.freedomotic.reactions

Examples of it.freedomotic.reactions.Payload


            Trigger t = TriggerPersistence.getTrigger(triggerName);
            if (t == null) {
                t = new Trigger();
                t.setName(triggerName);
                t.setChannel(event);
                Payload p = new Payload();
                p.addStatement("hasLightsOn", amount);
                p.addStatement("roomName", roomName);
                t.setPayload(p);

                TriggerPersistence.addAndRegister(t);
            }
        }
View Full Code Here

TOP

Related Classes of it.freedomotic.reactions.Payload

Copyright © 2018 www.massapicom. 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.