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, getParentgetBrooklynVersion, getCatalogItemId, getCustomField, getDisplayName, getId, getTags, getType, getTypeClass, getUniqueTag, injectTypeClass, toString, toVerboseStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBrooklynVersion, getCatalogItemId, getCustomField, getCustomFields, getDisplayName, getId, getTags, getType, getTypeClass, getUniqueTag, injectTypeClass, toVerboseStringgetChildren, getId, getParentpublic static BasicEntityMemento.Builder builder()
public boolean isTopLevelApp()
EntityMementoisTopLevelApp in interface EntityMementopublic java.util.Map<ConfigKey<?>,java.lang.Object> getConfig()
getConfig in interface EntityMementopublic java.util.Map<java.lang.String,java.lang.Object> getConfigUnmatched()
getConfigUnmatched in interface EntityMementopublic java.util.Map<AttributeSensor<?>,java.lang.Object> getAttributes()
getAttributes in interface EntityMementopublic java.util.List<Effector<?>> getEffectors()
EntityMementogetEffectors in interface EntityMementopublic java.util.List<java.lang.String> getPolicies()
EntityMementogetPolicies in interface EntityMementopublic java.util.List<java.lang.String> getEnrichers()
EntityMementogetEnrichers in interface EntityMementopublic java.util.List<java.lang.String> getMembers()
EntityMementogetMembers in interface EntityMementoGroup.getMembers()public java.util.List<java.lang.String> getLocations()
EntityMementogetLocations in interface EntityMementopublic java.util.List<java.lang.String> getFeeds()
EntityMementogetFeeds in interface EntityMemento