Brooklyn

brooklyn.entity
[Java] Interface Group

brooklyn.entity.Group
  brooklyn.entity.Entity
All Superinterfaces:
Entity

public interface Group
extends Entity

An Entity that groups together other entities. The grouping can be for any purpose, such as allowing easy management/monitoring of a group of entities. The grouping could be static (i.e. a fixed set of entities) or dynamic (i.e. contains all entities that match some filter).


Method Summary
void addMember(Entity member)

java.lang.Integer getCurrentSize()

java.util.Collection getMembers()

Return the entities that are members of this group.

boolean hasMember(Entity member)

boolean removeMember(Entity member)

 
Methods inherited from interface Entity
addGroup, addOwnedChild, clearOwner, getApplication, getApplicationId, getAttribute, getConfig, getDisplayName, getEnrichers, getEntityType, getGroups, getId, getLocations, getOwnedChildren, getOwner, getPolicies, invoke, removeOwnedChild, setOwner
 

Method Detail

addMember

public void addMember(Entity member)


getCurrentSize

public java.lang.Integer getCurrentSize()


getMembers

public java.util.Collection getMembers()
Return the entities that are members of this group.


hasMember

public boolean hasMember(Entity member)


removeMember

public boolean removeMember(Entity member)


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.