public interface EntityInternal extends BrooklynObjectInternal, EntityLocal, Rebindable
| Modifier and Type | Interface and Description |
|---|---|
static interface |
EntityInternal.EnricherSupportInternal |
static interface |
EntityInternal.EntitySubscriptionSupportInternal |
static interface |
EntityInternal.FeedSupport |
static interface |
EntityInternal.GroupSupportInternal |
static interface |
EntityInternal.PolicySupportInternal |
static interface |
EntityInternal.SensorSupportInternal |
BrooklynObjectInternal.ConfigurationSupportInternal, BrooklynObjectInternal.RelationSupportInternal<T extends BrooklynObject>, BrooklynObjectInternal.SubscriptionSupportInternalEntity.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 |
|---|---|
void |
addLocations(java.util.Collection<? extends Location> locations) |
void |
addLocationsWithoutPublishing(java.util.Collection<? extends Location> locations)
Adds the given locations to this entity, but without emitting
AbstractEntity.LOCATION_ADDED
events, and without auto-managing the 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.EnricherSupportInternal |
enrichers() |
EntityInternal.FeedSupport |
feeds() |
Effector<?> |
getEffector(java.lang.String effectorName)
returns the effector registered against a given name
|
ExecutionContext |
getExecutionContext()
Returns the task execution context for the entity.
|
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.
|
EntityInternal.GroupSupportInternal |
groups() |
EntityInternal.PolicySupportInternal |
policies() |
BrooklynObjectInternal.RelationSupportInternal<Entity> |
relations()
Relations specify a typed, directed connection between two entities.
|
void |
removeLocations(java.util.Collection<? extends Location> locations) |
void |
requestPersist()
Can be called to request that the entity be persisted.
|
EntityInternal.SensorSupportInternal |
sensors() |
EntityInternal.EntitySubscriptionSupportInternal |
subscriptions()
Subscriptions are the mechanism for receiving notifications of sensor-events (e.g.
|
java.util.Map<java.lang.String,java.lang.String> |
toMetadataRecord() |
addSearchPath, config, setCatalogItemId, setCatalogItemIdAndSearchPath, stackCatalogItemIdaddChild, addChild, addFeed, clearParent, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getCreationTime, getDisplayName, getEntityType, getIconUrl, getId, getLocations, getParent, invoke, removeChild, setDisplayName, setParentgetCatalogItemId, getCatalogItemIdSearchPath, tagsgetConfigvoid addLocations(@Nullable
java.util.Collection<? extends Location> locations)
void removeLocations(java.util.Collection<? extends Location> locations)
void addLocationsWithoutPublishing(@Nullable
java.util.Collection<? extends Location> locations)
AbstractEntity.LOCATION_ADDED
events, and without auto-managing the locations. This is for internal purposes only; it is primarily
intended for use during rebind.void clearLocations()
EntityInternal configure(java.util.Map flags)
EntityManagementSupport getManagementSupport()
void destroy()
ManagementContext getManagementContext()
getManagementContext in interface BrooklynObjectInternalExecutionContext getExecutionContext()
EntityDynamicType getMutableEntityType()
Effector<?> getEffector(java.lang.String effectorName)
EntityInternal.FeedSupport feeds()
java.util.Map<java.lang.String,java.lang.String> toMetadataRecord()
RebindSupport<EntityMemento> getRebindSupport()
getRebindSupport in interface BrooklynObjectInternalgetRebindSupport in interface RebindableBrooklynObjectInternal.RelationSupportInternal<Entity> relations()
BrooklynObjectrelations in interface BrooklynObjectrelations in interface BrooklynObjectInternalrelations in interface Entityvoid requestPersist()
EntityInternal.EntitySubscriptionSupportInternal subscriptions()
BrooklynObjectsubscriptions in interface BrooklynObjectsubscriptions in interface BrooklynObjectInternalEntityInternal.SensorSupportInternal sensors()
EntityInternal.PolicySupportInternal policies()
EntityInternal.EnricherSupportInternal enrichers()
EntityInternal.GroupSupportInternal groups()