public class Policies
extends java.lang.Object
| Constructor and Description | 
|---|
Policies()  | 
| Modifier and Type | Method and Description | 
|---|---|
static Lifecycle | 
getPolicyStatus(Policy p)  | 
static SensorEventListener | 
listenerFromValueClosure(groovy.lang.Closure code)  | 
static <S,T> Policy | 
newSingleSensorValuePolicy(Entity remoteEntity,
                          Sensor<T> remoteSensor,
                          groovy.lang.Closure code)  | 
static <T> Policy | 
newSingleSensorValuePolicy(Sensor<T> sensor,
                          groovy.lang.Closure code)  | 
public static SensorEventListener listenerFromValueClosure(groovy.lang.Closure code)
public static <T> Policy newSingleSensorValuePolicy(Sensor<T> sensor, groovy.lang.Closure code)
public static <S,T> Policy newSingleSensorValuePolicy(Entity remoteEntity, Sensor<T> remoteSensor, groovy.lang.Closure code)