public interface EntityLocal extends Entity, Configurable
setAttribute(AttributeSensorAndConfigKey,T>) back in if/when move it back,
 or if we extract an interface for AttributeSensorAndConfigKey.BrooklynObject.TagSupport| Modifier and Type | Method and Description | 
|---|---|
| <T> void | emit(Sensor<T> sensor,
    T value)Emits a  SensorEventevent on behalf of this entity (as though produced by this entity). | 
| <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  Entity.getConfig(ConfigKey) | 
| <T> T | modifyAttribute(AttributeSensor<T> attribute,
               com.google.common.base.Function<? super T,Maybe<T>> modifier)Atomically modifies the  AttributeSensor, ensuring that only one modification is done
 at a time. | 
| boolean | removeAllEnrichers()Removes all enricher from this entity. | 
| boolean | removeAllPolicies()Removes all policy from this entity. | 
| <T> T | setAttribute(AttributeSensor<T> attribute,
            T val)Sets the  AttributeSensordata for the given attribute to the specified value. | 
| <T> T | setConfig(ConfigKey.HasConfigKey<T> key,
         T val) | 
| <T> T | setConfig(ConfigKey.HasConfigKey<T> key,
         Task<T> val) | 
| <T> T | setConfig(ConfigKey<T> key,
         T val)Must be called before the entity is managed. | 
| <T> T | setConfig(ConfigKey<T> key,
         Task<T> val) | 
| void | setDisplayName(java.lang.String displayName)Sets the entity's display name. | 
| <T> SubscriptionHandle | subscribe(Entity producer,
         Sensor<T> sensor,
         SensorEventListener<? super T> listener)Allow us to subscribe to data from a  Sensoron another entity. | 
| <T> SubscriptionHandle | subscribeToChildren(Entity parent,
                   Sensor<T> sensor,
                   SensorEventListener<? super T> listener) | 
| <T> SubscriptionHandle | subscribeToMembers(Group group,
                  Sensor<T> sensor,
                  SensorEventListener<? super T> listener) | 
| boolean | unsubscribe(Entity producer)Unsubscribes from the given producer. | 
| boolean | unsubscribe(Entity producer,
           SubscriptionHandle handle)Unsubscribes the given handle. | 
addChild, addChild, addEnricher, addEnricher, addFeed, addGroup, addPolicy, addPolicy, addTag, clearParent, containsTag, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getConfig, getConfigRaw, getConfigRaw, getCreationTime, getDisplayName, getEnrichers, getEntityType, getGroups, getIconUrl, getId, getLocations, getParent, getPolicies, getTags, invoke, removeChild, removeEnricher, removeGroup, removePolicy, removeTag, setParentgetCatalogItemId, getTagSupport, tagsvoid setDisplayName(java.lang.String displayName)
<T> T setConfig(ConfigKey<T> key, T val)
setConfig in interface Configurable<T> T setConfig(ConfigKey.HasConfigKey<T> key, T val)
<T> T setConfig(ConfigKey.HasConfigKey<T> key, Task<T> val)
<T> T setAttribute(AttributeSensor<T> attribute, T val)
AttributeSensor data for the given attribute to the specified value.
 
 This can be used to "enrich" the entity, such as adding aggregated information, 
 rolling averages, etc.null)@Beta <T> T modifyAttribute(AttributeSensor<T> attribute, com.google.common.base.Function<? super T,Maybe<T>> modifier)
AttributeSensor, ensuring that only one modification is done
 at a time.
 
 If the modifier returns Maybe.absent() then the attribute will be
 left unmodified, and the existing value will be returned.
 
 For details of the synchronization model used to achieve this, refer to the underlying 
 attribute store (e.g. AttributeMap).null)<T> T getConfig(ConfigKey<T> key, T defaultValue)
Entity.getConfig(ConfigKey)<T> T getConfig(ConfigKey.HasConfigKey<T> key, T defaultValue)
#getConfig(HasConfigKey)<T> void emit(Sensor<T> sensor, T value)
SensorEvent event on behalf of this entity (as though produced by this entity).
 Note that for attribute sensors it is nearly always recommended to use setAttribute, as this method will not update local values.
@Beta <T> SubscriptionHandle subscribe(Entity producer, Sensor<T> sensor, SensorEventListener<? super T> listener)
Sensor on another entity.SubscriptionManager.subscribe(Map, Entity, Sensor, SensorEventListener)@Beta <T> SubscriptionHandle subscribeToChildren(Entity parent, Sensor<T> sensor, SensorEventListener<? super T> listener)
@Beta <T> SubscriptionHandle subscribeToMembers(Group group, Sensor<T> sensor, SensorEventListener<? super T> listener)
@Beta boolean unsubscribe(Entity producer)
@Beta boolean unsubscribe(Entity producer, SubscriptionHandle handle)
boolean removeAllPolicies()
boolean removeAllEnrichers()