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.Map getConfigUnmatched()

java.util.List getLocations()

java.util.List getMembers()

java.util.List getPolicies()

protected java.util.Map getStaticConfigKeys()

protected java.util.Map getStaticSensorKeys()

boolean isTopLevelApp()

protected ToStringHelper newVerboseStringHelper()

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

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

@java.lang.Override
public java.util.Map getAttributes()


getConfig

@java.lang.Override
public java.util.Map getConfig()


getConfigKey

protected ConfigKey getConfigKey(java.lang.String key)


getConfigUnmatched

@java.lang.Override
public java.util.Map getConfigUnmatched()


getLocations

@java.lang.Override
public java.util.List getLocations()


getMembers

@java.lang.Override
public java.util.List getMembers()


getPolicies

@java.lang.Override
public java.util.List getPolicies()


getStaticConfigKeys

protected java.util.Map getStaticConfigKeys()


getStaticSensorKeys

protected java.util.Map getStaticSensorKeys()


isTopLevelApp

@java.lang.Override
public boolean isTopLevelApp()


newVerboseStringHelper

@java.lang.Override.add("configUnmatched", Entities.sanitize(getConfigUnmatched()))
protected ToStringHelper newVerboseStringHelper()


 

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