public interface LocationInternal extends BrooklynObjectInternal, Location
BrooklynObjectInternal.ConfigurationSupportInternal, BrooklynObjectInternal.RelationSupportInternal<T extends BrooklynObject>, BrooklynObjectInternal.SubscriptionSupportInternalBrooklynObject.RelationSupport<T extends BrooklynObject>, BrooklynObject.SubscriptionSupport, BrooklynObject.TagSupportConfigurable.ConfigurationSupport| Modifier and Type | Field and Description |
|---|---|
static ConfigKey<java.lang.String> |
FINAL_SPEC |
static ConfigKey<java.lang.String> |
NAMED_SPEC_NAME
Deprecated.
since 0.11.0 use
ORIGINAL_SPEC; the distinction was unclear and the implementation inconsistent |
static ConfigKey<java.lang.String> |
ORIGINAL_SPEC |
| Modifier and Type | Method and Description |
|---|---|
<T> void |
addExtension(java.lang.Class<T> extensionType,
T extension)
Registers the given extension for the given type.
|
ManagementContext |
getManagementContext() |
RebindSupport<LocationMemento> |
getRebindSupport()
Users are strongly discouraged from calling or overriding this method.
|
BrooklynObjectInternal.RelationSupportInternal<Location> |
relations()
Relations specify a typed, directed connection between two entities.
|
java.util.Map<java.lang.String,java.lang.String> |
toMetadataRecord()
Get a record of the metadata of this location.
|
addSearchPath, config, setCatalogItemId, setCatalogItemIdAndSearchPath, stackCatalogItemId, subscriptionscontainsLocation, getChildren, getConfig, getDisplayName, getExtension, getId, getParent, hasExtension, setParent, toVerboseStringgetCatalogItemId, getCatalogItemIdSearchPath, tagsgetConfigstatic final ConfigKey<java.lang.String> ORIGINAL_SPEC
@Deprecated static final ConfigKey<java.lang.String> NAMED_SPEC_NAME
ORIGINAL_SPEC; the distinction was unclear and the implementation inconsistentstatic final ConfigKey<java.lang.String> FINAL_SPEC
<T> void addExtension(java.lang.Class<T> extensionType,
T extension)
java.lang.NullPointerException - if extensionType or extension are nulljava.lang.IllegalArgumentException - if extension does not implement extensionTypejava.util.Map<java.lang.String,java.lang.String> toMetadataRecord()
Metadata records are used to record an audit trail of events relating to location usage (for billing purposes, for example). Implementations (and subclasses) should override this method to return information useful for this purpose.
RebindSupport<LocationMemento> getRebindSupport()
getRebindSupport in interface BrooklynObjectInternalgetRebindSupport in interface RebindableBrooklynObjectInternal.RelationSupportInternal<Location> relations()
BrooklynObjectrelations in interface BrooklynObjectrelations in interface BrooklynObjectInternalrelations in interface LocationManagementContext getManagementContext()
getManagementContext in interface BrooklynObjectInternal