public class ConfigToAttributes
extends java.lang.Object
AttributeSensorAndConfigKey sensor values from the config value or config default| Constructor and Description | 
|---|
| ConfigToAttributes() | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | apply(EntityLocal entity) | 
| static <T> T | apply(EntityLocal entity,
     AttributeSensorAndConfigKey<?,T> key)Convenience for ensuring an individual sensor is set from its config key
 (e.g. | 
| static <T> T | transform(ManagementContext managementContext,
         AttributeSensorAndConfigKey<?,T> key)Convenience for transforming a config value (e.g. | 
public static void apply(EntityLocal entity)
public static <T> T apply(EntityLocal entity, AttributeSensorAndConfigKey<?,T> key)
public static <T> T transform(ManagementContext managementContext, AttributeSensorAndConfigKey<?,T> key)
TemplatedStringAttributeSensorAndConfigKey),
 outside of the context of an entity.