brooklyn.mementos
Interface EntityMemento

All Superinterfaces:
Memento, Serializable, TreeNode

public interface EntityMemento
extends Memento, TreeNode

Represents the state of an entity, so that it can be reconstructed (e.g. after restarting brooklyn).

See Also:
RebindSupport

Method Summary
 Map<AttributeSensor,Object> getAttributes()
           
 Map<brooklyn.config.ConfigKey,Object> getConfig()
           
 Set<AttributeSensor> getEntityReferenceAttributes()
           
 Set<brooklyn.config.ConfigKey> getEntityReferenceConfigs()
           
 Collection<? extends AttributeSensor> getLocationReferenceAttributes()
           
 Collection<? extends brooklyn.config.ConfigKey> getLocationReferenceConfigs()
           
 List<String> getLocations()
          The ids of the locations for this entity.
 List<String> getMembers()
          The ids of the member entities, if this is a Group; otherwise empty.
 Collection<String> getPolicies()
          The ids of the policies of this entity.
 boolean isTopLevelApp()
           
 
Methods inherited from interface brooklyn.mementos.Memento
getBrooklynVersion, getCustomField, getCustomFields, getDisplayName, getId, getType
 
Methods inherited from interface brooklyn.mementos.TreeNode
getChildren, getId, getParent
 

Method Detail

isTopLevelApp

boolean isTopLevelApp()

getConfig

Map<brooklyn.config.ConfigKey,Object> getConfig()

getAttributes

Map<AttributeSensor,Object> getAttributes()

getEntityReferenceAttributes

Set<AttributeSensor> getEntityReferenceAttributes()

getEntityReferenceConfigs

Set<brooklyn.config.ConfigKey> getEntityReferenceConfigs()

getMembers

List<String> getMembers()
The ids of the member entities, if this is a Group; otherwise empty.

See Also:
Group.getMembers()

getLocations

List<String> getLocations()
The ids of the locations for this entity.


getPolicies

Collection<String> getPolicies()
The ids of the policies of this entity.


getLocationReferenceConfigs

Collection<? extends brooklyn.config.ConfigKey> getLocationReferenceConfigs()

getLocationReferenceAttributes

Collection<? extends AttributeSensor> getLocationReferenceAttributes()


Copyright © 2013. All Rights Reserved.