Brooklyn

brooklyn.mementos
[Java] Interface EntityMemento

brooklyn.mementos.TreeNode
  brooklyn.mementos.Memento
      brooklyn.mementos.EntityMemento
All Superinterfaces:
TreeNode, Memento

public interface EntityMemento
extends Memento, TreeNode

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

Authors:
aled
See Also:
RebindSupport


Method Summary
java.util.Map getAttributes()

java.util.Map getConfig()

java.util.Set getEntityReferenceAttributes()

java.util.Set getEntityReferenceConfigs()

java.util.Collection getLocationReferenceAttributes()

java.util.Collection getLocationReferenceConfigs()

java.util.List getLocations()

The ids of the locations for this entity.

java.util.List getMembers()

The ids of the member entities, if this is a Group; otherwise empty.

java.util.Collection getPolicies()

The ids of the policies of this entity.

boolean isTopLevelApp()

 
Methods inherited from interface TreeNode
getChildren, getId, getParent
 
Methods inherited from interface Memento
getBrooklynVersion, getCustomField, getCustomFields, getDisplayName, getId, getType
 

Method Detail

getAttributes

public java.util.Map getAttributes()


getConfig

public java.util.Map getConfig()


getEntityReferenceAttributes

public java.util.Set getEntityReferenceAttributes()


getEntityReferenceConfigs

public java.util.Set getEntityReferenceConfigs()


getLocationReferenceAttributes

public java.util.Collection getLocationReferenceAttributes()


getLocationReferenceConfigs

public java.util.Collection getLocationReferenceConfigs()


getLocations

public java.util.List getLocations()
The ids of the locations for this entity.


getMembers

public java.util.List getMembers()
The ids of the member entities, if this is a Group; otherwise empty.
See Also:
Group.getMembers()


getPolicies

public java.util.Collection getPolicies()
The ids of the policies of this entity.


isTopLevelApp

public boolean isTopLevelApp()


 

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