Entity or EntityInternalpublic interface EntityLocal extends Entity
setAttribute(AttributeSensorAndConfigKey,T>) back in if/when move it back,
 or if we extract an interface for AttributeSensorAndConfigKey.Entity.AdjunctSupport<T extends EntityAdjunct>, Entity.EnricherSupport, Entity.GroupSupport, Entity.PolicySupport, Entity.SensorSupportBrooklynObject.RelationSupport<T extends BrooklynObject>, BrooklynObject.SubscriptionSupport, BrooklynObject.TagSupportConfigurable.ConfigurationSupport| Modifier and Type | Method and Description | 
|---|---|
| <T> void | emit(Sensor<T> sensor,
    T value)Deprecated. 
 since 0.8.0; use  SensorSupport#emit(Sensor, Object)via code likesensors().emit(sensor, val). | 
| <T> T | getConfig(ConfigKey.HasConfigKey<T> key,
         T defaultValue)Deprecated. 
 in 0.5; use  #getConfig(HasConfigKey) | 
| <T> T | getConfig(ConfigKey<T> key,
         T defaultValue)Deprecated. 
 in 0.5; use  Configurable.getConfig(ConfigKey) | 
| <T> T | modifyAttribute(AttributeSensor<T> attribute,
               Deprecated. 
 since 0.8.0; use  SensorSupport#modify(AttributeSensor, Function)via code likesensors().modify(attribute, modifier). | 
| boolean | removeAllEnrichers()Deprecated. 
 since 0.9.0; see  EnricherSupportInternal#removeAllEnrichers(), e.g.((EntityInternal)entity).enrichers().removeAllEnrichers() | 
| boolean | removeAllPolicies()Deprecated. 
 since 0.9.0; see  PolicySupportInternal#removeAllPolicies(), e.g.((EntityInternal)entity).policies().removeAllPolicies() | 
| <T> T | setAttribute(AttributeSensor<T> attribute,
            T val)Deprecated. 
 since 0.8.0; use  SensorSupport#set(AttributeSensor, Object)via code likesensors().set(attribute, val). | 
| <T> T | setConfig(ConfigKey.HasConfigKey<T> key,
         T val)Deprecated. 
 since 0.7.0; use  Configurable.config(), such asentity.config().set(key, val) | 
| <T> T | setConfig(ConfigKey.HasConfigKey<T> key,
         Task<T> val)Deprecated. 
 since 0.7.0; use  Configurable.config(), such asentity.config().set(key, val) | 
| <T> T | setConfig(ConfigKey<T> key,
         T val)Deprecated. 
 since 0.7.0; use  Configurable.config(), such asentity.config().set(key, val) | 
| <T> T | setConfig(ConfigKey<T> key,
         Task<T> val)Deprecated. 
 since 0.7.0; use  Configurable.config(), such asentity.config().set(key, val) | 
| <T> SubscriptionHandle | subscribe(Entity producer,
         Sensor<T> sensor,
         SensorEventListener<? super T> listener)Deprecated. 
 since 0.9.0; see  SubscriptionSupportInternal#getSubscriptionContext(), e.g. withsubscriptions().getSubscriptionContext() | 
| <T> SubscriptionHandle | subscribeToChildren(Entity parent,
                   Sensor<T> sensor,
                   SensorEventListener<? super T> listener)Deprecated. 
 since 0.9.0; see  SubscriptionSupport#subscribeToChildren(Entity, Sensor, SensorEventListener), e.g. withsubscriptions().subscribeToChildren(...) | 
| <T> SubscriptionHandle | subscribeToMembers(Group group,
                  Sensor<T> sensor,
                  SensorEventListener<? super T> listener)Deprecated. 
 since 0.9.0; see  SubscriptionSupport#subscribeToMembers(Entity, Sensor, SensorEventListener), e.g. withsubscriptions().subscribeToMembers(...) | 
| boolean | unsubscribe(Entity producer)Deprecated. 
 since 0.9.0; see  SubscriptionSupport#unsubscribe(Entity), e.g. withsubscriptions().unsubscribe(...) | 
| boolean | unsubscribe(Entity producer,
           SubscriptionHandle handle)Deprecated. 
 since 0.9.0; see  SubscriptionSupport#unsubscribe(Entity, SubscriptionHandle), e.g. withsubscriptions().unsubscribe(...) | 
addChild, addChild, addEnricher, addEnricher, addFeed, addGroup, addPolicy, addPolicy, clearParent, enrichers, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getConfigRaw, getConfigRaw, getCreationTime, getDisplayName, getEnrichers, getEntityType, getGroups, getIconUrl, getId, getLocations, getParent, getPolicies, groups, invoke, policies, relations, removeChild, removeEnricher, removeGroup, removePolicy, sensors, setDisplayName, setParentgetCatalogItemId, subscriptions, tagsconfig, getConfig@Deprecated <T> T setConfig(ConfigKey<T> key, T val)
setConfig in interface Configurable@Deprecated <T> T setConfig(ConfigKey.HasConfigKey<T> key, T val)
@Deprecated <T> T setConfig(ConfigKey.HasConfigKey<T> key, Task<T> val)
<T> T setAttribute(AttributeSensor<T> attribute, T val)
SensorSupport#set(AttributeSensor, Object) via code like sensors().set(attribute, val).<T> T modifyAttribute(AttributeSensor<T> attribute,modifier) 
SensorSupport#modify(AttributeSensor, Function) via code like sensors().modify(attribute, modifier).<T> void emit(Sensor<T> sensor, T value)
SensorSupport#emit(Sensor, Object) via code like sensors().emit(sensor, val).<T> T getConfig(ConfigKey<T> key, T defaultValue)
Configurable.getConfig(ConfigKey)<T> T getConfig(ConfigKey.HasConfigKey<T> key, T defaultValue)
#getConfig(HasConfigKey)@Deprecated <T> SubscriptionHandle subscribe(Entity producer, Sensor<T> sensor, SensorEventListener<? super T> listener)
SubscriptionSupportInternal#getSubscriptionContext(), e.g. with subscriptions().getSubscriptionContext()Sensor on another entity.SubscriptionManager.subscribe(Map, Entity, Sensor, SensorEventListener)@Deprecated <T> SubscriptionHandle subscribeToChildren(Entity parent, Sensor<T> sensor, SensorEventListener<? super T> listener)
SubscriptionSupport#subscribeToChildren(Entity, Sensor, SensorEventListener), e.g. with subscriptions().subscribeToChildren(...)@Deprecated <T> SubscriptionHandle subscribeToMembers(Group group, Sensor<T> sensor, SensorEventListener<? super T> listener)
SubscriptionSupport#subscribeToMembers(Entity, Sensor, SensorEventListener), e.g. with subscriptions().subscribeToMembers(...)@Deprecated boolean unsubscribe(Entity producer)
SubscriptionSupport#unsubscribe(Entity), e.g. with subscriptions().unsubscribe(...)@Deprecated boolean unsubscribe(Entity producer, SubscriptionHandle handle)
SubscriptionSupport#unsubscribe(Entity, SubscriptionHandle), e.g. with subscriptions().unsubscribe(...)@Deprecated boolean removeAllPolicies()
PolicySupportInternal#removeAllPolicies(), e.g. ((EntityInternal)entity).policies().removeAllPolicies()@Deprecated boolean removeAllEnrichers()
EnricherSupportInternal#removeAllEnrichers(), e.g. ((EntityInternal)entity).enrichers().removeAllEnrichers()