public class BasicEntityMemento extends AbstractTreeNodeMemento implements EntityMemento, java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
BasicEntityMemento.Builder |
Modifier and Type | Method and Description |
---|---|
static BasicEntityMemento.Builder |
builder() |
java.util.Map<AttributeSensor<?>,java.lang.Object> |
getAttributes() |
java.util.Map<ConfigKey<?>,java.lang.Object> |
getConfig() |
java.util.Map<java.lang.String,java.lang.Object> |
getConfigUnmatched() |
java.util.List<Effector<?>> |
getEffectors()
all dynamic effectors (ie differences between those registered on the entity type
|
java.util.List<java.lang.String> |
getEnrichers()
The ids of the enrichers of this entity.
|
java.util.List<java.lang.String> |
getFeeds()
The ids of the sensor feeds attached to this entity.
|
java.util.List<java.lang.String> |
getLocations()
The ids of the locations for this entity.
|
java.util.List<java.lang.String> |
getMembers()
The ids of the member entities, if this is a Group; otherwise empty.
|
java.util.List<java.lang.String> |
getPolicies()
The ids of the policies of this entity.
|
boolean |
isTopLevelApp()
true if the entity is top-level (parentless) and an application
(there may be parentless "orphaned" entities, for which this is false,
and "application" instances nested inside other apps, for which this is again)
|
getChildren, getCustomFields, getParent
getBrooklynVersion, getCatalogItemId, getCustomField, getDisplayName, getId, getTags, getType, getTypeClass, getUniqueTag, injectTypeClass, toString, toVerboseString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBrooklynVersion, getCatalogItemId, getCustomField, getCustomFields, getDisplayName, getId, getTags, getType, getTypeClass, getUniqueTag, injectTypeClass, toVerboseString
getChildren, getId, getParent
public static BasicEntityMemento.Builder builder()
public boolean isTopLevelApp()
EntityMemento
isTopLevelApp
in interface EntityMemento
public java.util.Map<ConfigKey<?>,java.lang.Object> getConfig()
getConfig
in interface EntityMemento
public java.util.Map<java.lang.String,java.lang.Object> getConfigUnmatched()
getConfigUnmatched
in interface EntityMemento
public java.util.Map<AttributeSensor<?>,java.lang.Object> getAttributes()
getAttributes
in interface EntityMemento
public java.util.List<Effector<?>> getEffectors()
EntityMemento
getEffectors
in interface EntityMemento
public java.util.List<java.lang.String> getPolicies()
EntityMemento
getPolicies
in interface EntityMemento
public java.util.List<java.lang.String> getEnrichers()
EntityMemento
getEnrichers
in interface EntityMemento
public java.util.List<java.lang.String> getMembers()
EntityMemento
getMembers
in interface EntityMemento
Group.getMembers()
public java.util.List<java.lang.String> getLocations()
EntityMemento
getLocations
in interface EntityMemento
public java.util.List<java.lang.String> getFeeds()
EntityMemento
getFeeds
in interface EntityMemento