|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Entity | |
|---|---|
| brooklyn.entity | |
| brooklyn.entity.basic | |
| brooklyn.entity.drivers | |
| brooklyn.entity.proxying | |
| brooklyn.entity.rebind | |
| brooklyn.event | |
| brooklyn.management | |
| Uses of Entity in brooklyn.entity |
|---|
| Subinterfaces of Entity in brooklyn.entity | |
|---|---|
interface |
Application
An application is the root of the entity hierarchy. |
interface |
Group
An Entity that groups together other entities. |
| Methods in brooklyn.entity that return Entity | |
|---|---|
Entity |
Entity.addChild(Entity child)
Add a child Entity, and set this entity as its parent,
returning the added child. |
Entity |
Entity.addOwnedChild(Entity child)
Deprecated. since 0.5; see addChild(Entity) |
Entity |
Entity.getOwner()
Deprecated. since 0.5; see getParent() |
Entity |
Entity.getParent()
The parent of this entity, null if no parent. |
Entity |
Entity.setOwner(Entity group)
Deprecated. since 0.5; see setOwner(Entity) |
Entity |
Entity.setParent(Entity parent)
Sets the parent (i.e. |
| Methods in brooklyn.entity that return types with arguments of type Entity | |
|---|---|
Collection<Entity> |
Entity.getChildren()
Return the entities that are children of (i.e. |
Collection<Entity> |
Group.getMembers()
Return the entities that are members of this group. |
Collection<Entity> |
Entity.getOwnedChildren()
Deprecated. since 0.5; see getChildren() |
| Methods in brooklyn.entity with parameters of type Entity | |
|---|---|
Entity |
Entity.addChild(Entity child)
Add a child Entity, and set this entity as its parent,
returning the added child. |
boolean |
Group.addMember(Entity member)
Adds the given member, returning true if this modifies the set of members (i.e. |
Entity |
Entity.addOwnedChild(Entity child)
Deprecated. since 0.5; see addChild(Entity) |
boolean |
Group.hasMember(Entity member)
|
boolean |
Entity.removeChild(Entity child)
Removes the specified child Entity; its parent will be set to null. |
boolean |
Group.removeMember(Entity member)
Removes the given member, returning true if this modifies the set of members (i.e. |
boolean |
Entity.removeOwnedChild(Entity child)
Deprecated. since 0.5; see removeChild(Entity) |
Entity |
Entity.setOwner(Entity group)
Deprecated. since 0.5; see setOwner(Entity) |
Entity |
Entity.setParent(Entity parent)
Sets the parent (i.e. |
| Uses of Entity in brooklyn.entity.basic |
|---|
| Subinterfaces of Entity in brooklyn.entity.basic | |
|---|---|
interface |
EntityLocal
Extended Entity interface for use in places where the caller should have certain privileges, such as setting attribute values, adding policies, etc. |
| Methods in brooklyn.entity.basic with parameters of type Entity | ||
|---|---|---|
|
EntityLocal.subscribe(Entity producer,
Sensor<T> sensor,
SensorEventListener<? super T> listener)
Allow us to subscribe to data from a Sensor on another entity. |
|
|
EntityLocal.subscribeToChildren(Entity parent,
Sensor<T> sensor,
SensorEventListener<? super T> listener)
|
|
boolean |
EntityLocal.unsubscribe(Entity producer)
Unsubscribes from the given producer. |
|
boolean |
EntityLocal.unsubscribe(Entity producer,
SubscriptionHandle handle)
Unsubscribes the given handle. |
|
| Uses of Entity in brooklyn.entity.drivers |
|---|
| Subinterfaces of Entity in brooklyn.entity.drivers | |
|---|---|
interface |
DriverDependentEntity<D extends EntityDriver>
An Entity that needs to have a driver. |
| Uses of Entity in brooklyn.entity.proxying |
|---|
| Classes in brooklyn.entity.proxying with type parameters of type Entity | |
|---|---|
interface |
EntitySpec<T extends Entity>
Gives details of an entity to be created. |
| Methods in brooklyn.entity.proxying with type parameters of type Entity | ||
|---|---|---|
|
EntityTypeRegistry.getEntityTypeOf(Class<T> type)
Returns the interface of this entity implementation. |
|
|
EntityTypeRegistry.getImplementedBy(Class<T> type)
Returns the implementation to be used for the given entity type. |
|
|
EntityTypeRegistry.registerImplementation(Class<T> type,
Class<? extends T> implClazz)
Registers the implementation to use for a given entity type. |
|
| Methods in brooklyn.entity.proxying that return Entity | |
|---|---|
Entity |
EntitySpec.getParent()
|
| Uses of Entity in brooklyn.entity.rebind |
|---|
| Methods in brooklyn.entity.rebind that return Entity | |
|---|---|
Entity |
RebindContext.getEntity(String id)
|
| Methods in brooklyn.entity.rebind with parameters of type Entity | |
|---|---|
void |
ChangeListener.onChanged(Entity entity)
|
void |
ChangeListener.onManaged(Entity entity)
|
void |
ChangeListener.onUnmanaged(Entity entity)
|
| Uses of Entity in brooklyn.event |
|---|
| Methods in brooklyn.event that return Entity | |
|---|---|
Entity |
SensorEvent.getSource()
The Entity where the data originated. |
| Methods in brooklyn.event with parameters of type Entity | |
|---|---|
SensorEvent<T> |
Sensor.newEvent(Entity entity,
T value)
Create a new SensorEvent object for a specific Entity and data point. |
| Uses of Entity in brooklyn.management |
|---|
| Methods in brooklyn.management with type parameters of type Entity | ||
|---|---|---|
|
EntityManager.createEntity(EntitySpec<T> spec)
Creates a new (unmanaged) entity. |
|
|
EntityManager.createEntity(Map<?,?> config,
Class<T> type)
Convenience (particularly for groovy code) to create an entity. |
|
| Methods in brooklyn.management that return Entity | |
|---|---|
Entity |
ManagementContext.getEntity(String id)
Deprecated. Use getEntityManager().getEntity(String) instead; deprecated in 0.5 |
Entity |
EntityManager.getEntity(String id)
Returns the entity with the given identifier (may be a full instance, or a proxy to one which is remote) |
| Methods in brooklyn.management that return types with arguments of type Entity | |
|---|---|
Collection<Entity> |
ManagementContext.getEntities()
Deprecated. Use getEntityManager().getEntities() instead; deprecated in 0.5 |
Collection<Entity> |
EntityManager.getEntities()
All entities under control of this management plane |
| Methods in brooklyn.management with parameters of type Entity | ||
|---|---|---|
ExecutionContext |
ManagementContext.getExecutionContext(Entity entity)
Returns an ExecutionContext instance representing tasks
(from the ExecutionManager) associated with this entity, and capable
of conveniently running such tasks which will be associated with that entity |
|
SubscriptionContext |
ManagementContext.getSubscriptionContext(Entity entity)
Returns a SubscriptionContext instance representing subscriptions
(from the SubscriptionManager) associated with this entity, and capable
of conveniently subscribing on behalf of that entity |
|
Set<SubscriptionHandle> |
SubscriptionManager.getSubscriptionsForEntitySensor(Entity source,
Sensor<?> sensor)
Return the subscriptions on a given source-sensor pair |
|
boolean |
ManagementContext.isManaged(Entity entity)
Deprecated. Use getEntityManager().isManaged(Entity) instead; deprecated in 0.5 |
|
boolean |
EntityManager.isManaged(Entity entity)
whether the entity is under management by this management context |
|
void |
ManagementContext.manage(Entity e)
Deprecated. Use getEntityManager().manage(Entity) instead; deprecated in 0.5 |
|
void |
EntityManager.manage(Entity e)
Begins management for the given entity and its children, recursively. |
|
|
SubscriptionManager.subscribe(Entity producer,
Sensor<T> sensor,
SensorEventListener<? super T> listener)
|
|
|
SubscriptionContext.subscribe(Entity producer,
Sensor<T> sensor,
SensorEventListener<? super T> listener)
|
|
|
SubscriptionManager.subscribe(Map<String,Object> flags,
Entity producer,
Sensor<T> sensor,
SensorEventListener<? super T> listener)
Subscribe to Sensor data changes and events on a given Entity, supplying the SensorEventListener
to invoke when they occur. |
|
|
SubscriptionContext.subscribe(Map<String,Object> flags,
Entity producer,
Sensor<T> sensor,
SensorEventListener<? super T> listener)
As SubscriptionManager.subscribe(Map, Entity, Sensor, SensorEventListener) with default subscription parameters for this context |
|
|
SubscriptionManager.subscribeToChildren(Entity parent,
Sensor<T> sensor,
SensorEventListener<? super T> listener)
|
|
|
SubscriptionContext.subscribeToChildren(Entity parent,
Sensor<T> sensor,
SensorEventListener<? super T> listener)
|
|
|
SubscriptionManager.subscribeToChildren(Map<String,Object> flags,
Entity parent,
Sensor<T> sensor,
SensorEventListener<? super T> listener)
Subscribe to Sensor data changes and events on all children of a given Entity, supplying the
SensorEventListener to invoke when they occur. |
|
|
SubscriptionContext.subscribeToChildren(Map<String,Object> flags,
Entity parent,
Sensor<T> sensor,
SensorEventListener<? super T> listener)
|
|
void |
ManagementContext.unmanage(Entity e)
Deprecated. Use getEntityManager().unmanage(Entity) instead; deprecated in 0.5 |
|
void |
EntityManager.unmanage(Entity e)
Causes the given entity and its children, recursively, to be removed from the management plane (for instance because the entity is no longer relevant) |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||