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.SubscriptionSupportInternal
Entity.AdjunctSupport<T extends EntityAdjunct>, Entity.EnricherSupport, Entity.GroupSupport, Entity.PolicySupport, Entity.SensorSupport
BrooklynObject.RelationSupport<T extends BrooklynObject>, BrooklynObject.SubscriptionSupport, BrooklynObject.TagSupport
Configurable.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, stackCatalogItemId
addChild, addChild, addFeed, clearParent, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getCreationTime, getDisplayName, getEntityType, getIconUrl, getId, getLocations, getParent, invoke, removeChild, setDisplayName, setParent
getCatalogItemId, getCatalogItemIdSearchPath, tags
getConfig
void 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 BrooklynObjectInternal
ExecutionContext 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 BrooklynObjectInternal
getRebindSupport
in interface Rebindable
BrooklynObjectInternal.RelationSupportInternal<Entity> relations()
BrooklynObject
relations
in interface BrooklynObject
relations
in interface BrooklynObjectInternal
relations
in interface Entity
void requestPersist()
EntityInternal.EntitySubscriptionSupportInternal subscriptions()
BrooklynObject
subscriptions
in interface BrooklynObject
subscriptions
in interface BrooklynObjectInternal
EntityInternal.SensorSupportInternal sensors()
EntityInternal.PolicySupportInternal policies()
EntityInternal.EnricherSupportInternal enrichers()
EntityInternal.GroupSupportInternal groups()