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)
Deprecated.
since 0.11.0; explicit groovy utilities/support will be deleted.
|
static <S,T> Policy |
newSingleSensorValuePolicy(Entity remoteEntity,
Sensor<T> remoteSensor,
groovy.lang.Closure code)
Deprecated.
since 0.11.0; explicit groovy utilities/support will be deleted.
|
static <T> Policy |
newSingleSensorValuePolicy(Sensor<T> sensor,
groovy.lang.Closure code)
Deprecated.
since 0.11.0; explicit groovy utilities/support will be deleted.
|
@Deprecated public static SensorEventListener listenerFromValueClosure(groovy.lang.Closure code)
@Deprecated public static <T> Policy newSingleSensorValuePolicy(Sensor<T> sensor, groovy.lang.Closure code)
@Deprecated public static <S,T> Policy newSingleSensorValuePolicy(Entity remoteEntity, Sensor<T> remoteSensor, groovy.lang.Closure code)