Brooklyn

brooklyn.entity.rebind.dto
[Java] Class BasicEntityMemento

java.lang.Object
  brooklyn.entity.rebind.dto.AbstractMemento
      brooklyn.entity.rebind.dto.AbstractTreeNodeMemento
          brooklyn.entity.rebind.dto.BasicEntityMemento
All Implemented Interfaces:
EntityMemento, java.io.Serializable

@JsonAutoDetect(fieldVisibility=Visibility.ANY, getterVisibility=Visibility.NONE)
public class BasicEntityMemento
extends AbstractTreeNodeMemento

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

Authors:
aled
See Also:
AbstractEntity#getRebindSupport()#getRebindSupport()
RebindSupport#getMemento()#getMemento()
RebindSupport#reconstruct(brooklyn.entity.rebind.RebindContext, brooklyn.mementos.Memento)


Nested Class Summary
static class BasicEntityMemento.Builder

 
Method Summary
protected java.lang.Object BasicEntityMemento(BasicEntityMemento.Builder builder)

static BasicEntityMemento.Builder builder()

protected AttributeSensor getAttributeKey(java.lang.String key)

java.util.Map getAttributes()

java.util.Map getConfig()

protected ConfigKey getConfigKey(java.lang.String key)

java.util.Set getEntityReferenceAttributes()

java.util.Set getEntityReferenceConfigs()

java.util.Set getLocationReferenceAttributes()

java.util.Set getLocationReferenceConfigs()

java.util.List getLocations()

java.util.List getMembers()

java.util.List getPolicies()

protected java.util.Map getStaticConfigKeys()

protected java.util.Map getStaticSensorKeys()

boolean isTopLevelApp()

 
Methods inherited from class AbstractTreeNodeMemento
AbstractTreeNodeMemento, AbstractTreeNodeMemento, getChildren, getCustomFields, getParent, setCustomFields
 
Methods inherited from class AbstractMemento
AbstractMemento, AbstractMemento, fromPersistedList, fromPersistedMap, fromPersistedSet, getBrooklynVersion, getCustomField, getCustomFields, getDisplayName, getId, getType, setCustomFields, toPersistedList, toPersistedMap, toPersistedSet, toString
 

Method Detail

BasicEntityMemento

protected java.lang.Object BasicEntityMemento(BasicEntityMemento.Builder builder)


builder

public static BasicEntityMemento.Builder builder()


getAttributeKey

protected AttributeSensor getAttributeKey(java.lang.String key)


getAttributes

public java.util.Map getAttributes()


getConfig

public java.util.Map getConfig()


getConfigKey

protected ConfigKey getConfigKey(java.lang.String key)


getEntityReferenceAttributes

public java.util.Set getEntityReferenceAttributes()


getEntityReferenceConfigs

public java.util.Set getEntityReferenceConfigs()


getLocationReferenceAttributes

public java.util.Set getLocationReferenceAttributes()


getLocationReferenceConfigs

public java.util.Set getLocationReferenceConfigs()


getLocations

}
public java.util.List getLocations()


getMembers

@Override
public java.util.List getMembers()


getPolicies

@Override
public java.util.List getPolicies()


getStaticConfigKeys

protected java.util.Map getStaticConfigKeys()


getStaticSensorKeys

protected java.util.Map getStaticSensorKeys()


isTopLevelApp

@Override
public boolean isTopLevelApp()


 

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