@Beta public interface EntityInternal extends BrooklynObjectInternal, EntityLocal, Rebindable
| Modifier and Type | Interface and Description |
|---|---|
static interface |
EntityInternal.FeedSupport |
BrooklynObjectInternal.ConfigurationSupportInternalBrooklynObject.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() |
java.util.Map<ConfigKey<?>,java.lang.Object> |
getAllConfig()
Deprecated.
since 0.7.0; instead just use methods on
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
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) |
void |
removeLocations(java.util.Collection<? extends Location> locations) |
void |
requestPersist()
Can be called to request that the entity be persisted.
|
<T> T |
setAttributeWithoutPublishing(AttributeSensor<T> sensor,
T val)
Like
EntityLocal.setAttribute(AttributeSensor, Object), except does not publish an attribute-change event. |
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, 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 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)
EntityLocal.setAttribute(AttributeSensor, Object), except does not publish an attribute-change event.@Deprecated EntityConfigMap getConfigMap()
ConfigurationSupportInternal returned by BrooklynObjectInternal.config()@Deprecated @Beta java.util.Map<ConfigKey<?>,java.lang.Object> getAllConfig()
ConfigurationSupportInternal returned by BrooklynObjectInternal.config(),
e.g. getBag().getAllConfigAsConfigKeyMap().@Deprecated ConfigBag getAllConfigBag()
@Deprecated ConfigBag getLocalConfigBag()
@Beta java.util.Map<AttributeSensor,java.lang.Object> getAllAttributes()
@Beta void removeAttribute(AttributeSensor<?> 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()