@Beta public interface EntityInternal extends BrooklynObjectInternal, EntityLocal, Rebindable
| Modifier and Type | Interface and Description | 
|---|---|
static interface  | 
EntityInternal.FeedSupport  | 
static interface  | 
EntityInternal.SensorSupportInternal  | 
BrooklynObjectInternal.ConfigurationSupportInternalEntity.SensorSupportBrooklynObject.TagSupportConfigurable.ConfigurationSupport| Modifier and Type | Method and Description | 
|---|---|
void | 
addLocations(java.util.Collection<? extends Location> locations)  | 
void | 
clearLocations()  | 
EntityInternal | 
configure(java.util.Map flags)
Must be called before the entity is started. 
 | 
void | 
destroy()
Should be invoked at end-of-life to clean up the item. 
 | 
EntityInternal.FeedSupport | 
feeds()  | 
java.util.Map<AttributeSensor,java.lang.Object> | 
getAllAttributes()
Deprecated. 
 
since 0.8.0; use  
EntityInternal.SensorSupportInternal.getAll() via code like sensors().getAll(). | 
java.util.Map<ConfigKey<?>,java.lang.Object> | 
getAllConfig()
Deprecated. 
 
since 0.7.0; instead just use methods on  
BrooklynObjectInternal.ConfigurationSupportInternal returned by BrooklynObjectInternal.config(),
 e.g. getBag().getAllConfigAsConfigKeyMap(). | 
ConfigBag | 
getAllConfigBag()
Deprecated. 
 
since 0.7.0; use  
BrooklynObjectInternal.config(), such as entity.config().getBag() | 
EntityConfigMap | 
getConfigMap()
Deprecated. 
 
since 0.7.0; instead just use methods on  
BrooklynObjectInternal.ConfigurationSupportInternal returned by BrooklynObjectInternal.config() | 
Effector<?> | 
getEffector(java.lang.String effectorName)
returns the effector registered against a given name 
 | 
ExecutionContext | 
getExecutionContext()
Returns the task execution context for the entity. 
 | 
EntityInternal.FeedSupport | 
getFeedSupport()
Deprecated. 
 
since 0.7.0-M2; use  
feeds() | 
ConfigBag | 
getLocalConfigBag()
Deprecated. 
 
since 0.7.0; use  
BrooklynObjectInternal.config(), such as entity.config().getLocalBag() | 
ManagementContext | 
getManagementContext()
Returns the management context for the entity. 
 | 
EntityManagementSupport | 
getManagementSupport()  | 
EntityDynamicType | 
getMutableEntityType()
returns the dynamic type corresponding to the type of this entity instance 
 | 
RebindSupport<EntityMemento> | 
getRebindSupport()
Users are strongly discouraged from calling or overriding this method. 
 | 
SubscriptionContext | 
getSubscriptionContext()  | 
void | 
refreshInheritedConfig()
Deprecated. 
 
since 0.7.0; use  
BrooklynObjectInternal.config(), such as entity.config().refreshInheritedConfig() | 
void | 
removeAttribute(AttributeSensor<?> attribute)
Deprecated. 
 
since 0.8.0; use  
EntityInternal.SensorSupportInternal.remove(AttributeSensor) via code like sensors().remove(attribute). | 
void | 
removeLocations(java.util.Collection<? extends Location> locations)  | 
void | 
requestPersist()
Can be called to request that the entity be persisted. 
 | 
EntityInternal.SensorSupportInternal | 
sensors()  | 
<T> T | 
setAttributeWithoutPublishing(AttributeSensor<T> sensor,
                             T val)
Deprecated. 
 
since 0.8.0; use  
EntityInternal.SensorSupportInternal.setWithoutPublishing(AttributeSensor, Object) via code like sensors().setWithoutPublishing(attribute, val). | 
java.util.Map<java.lang.String,java.lang.String> | 
toMetadataRecord()  | 
config, setCatalogItemIdemit, getConfig, getConfig, modifyAttribute, removeAllEnrichers, removeAllPolicies, setAttribute, setConfig, setConfig, setConfig, setConfig, setDisplayName, subscribe, subscribeToChildren, subscribeToMembers, unsubscribe, unsubscribeaddChild, addChild, addEnricher, addEnricher, addFeed, addGroup, addPolicy, addPolicy, clearParent, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getConfig, getConfigRaw, getConfigRaw, getCreationTime, getDisplayName, getEnrichers, getEntityType, getGroups, getIconUrl, getId, getLocations, getParent, getPolicies, invoke, removeChild, removeEnricher, removeGroup, removePolicy, setParentgetCatalogItemId, tagsvoid addLocations(java.util.Collection<? extends Location> locations)
void removeLocations(java.util.Collection<? extends Location> locations)
void clearLocations()
<T> T setAttributeWithoutPublishing(AttributeSensor<T> sensor, T val)
EntityInternal.SensorSupportInternal.setWithoutPublishing(AttributeSensor, Object) via code like sensors().setWithoutPublishing(attribute, val).@Deprecated EntityConfigMap getConfigMap()
BrooklynObjectInternal.ConfigurationSupportInternal returned by BrooklynObjectInternal.config()@Deprecated @Beta java.util.Map<ConfigKey<?>,java.lang.Object> getAllConfig()
BrooklynObjectInternal.ConfigurationSupportInternal returned by BrooklynObjectInternal.config(),
 e.g. getBag().getAllConfigAsConfigKeyMap().@Deprecated ConfigBag getAllConfigBag()
@Deprecated ConfigBag getLocalConfigBag()
@Beta java.util.Map<AttributeSensor,java.lang.Object> getAllAttributes()
EntityInternal.SensorSupportInternal.getAll() via code like sensors().getAll().@Beta void removeAttribute(AttributeSensor<?> attribute)
EntityInternal.SensorSupportInternal.remove(AttributeSensor) via code like sensors().remove(attribute).@Deprecated void refreshInheritedConfig()
BrooklynObjectInternal.config(), such as entity.config().refreshInheritedConfig()@Beta EntityInternal configure(java.util.Map flags)
EntityManagementSupport getManagementSupport()
@Beta void destroy()
ManagementContext getManagementContext()
ExecutionContext getExecutionContext()
SubscriptionContext getSubscriptionContext()
@Beta EntityDynamicType getMutableEntityType()
@Beta Effector<?> getEffector(java.lang.String effectorName)
EntityInternal.FeedSupport feeds()
@Deprecated EntityInternal.FeedSupport getFeedSupport()
feeds()java.util.Map<java.lang.String,java.lang.String> toMetadataRecord()
@Beta RebindSupport<EntityMemento> getRebindSupport()
getRebindSupport in interface BrooklynObjectInternalgetRebindSupport in interface Rebindablevoid requestPersist()
EntityInternal.SensorSupportInternal sensors()