public interface LocationInternal extends BrooklynObjectInternal, Location
BrooklynObjectInternal.ConfigurationSupportInternal, BrooklynObjectInternal.RelationSupportInternal<T extends BrooklynObject>, BrooklynObjectInternal.SubscriptionSupportInternal
BrooklynObject.RelationSupport<T extends BrooklynObject>, BrooklynObject.SubscriptionSupport, BrooklynObject.TagSupport
Configurable.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, subscriptions
containsLocation, getChildren, getConfig, getDisplayName, getExtension, getId, getParent, hasExtension, setParent, toVerboseString
getCatalogItemId, getCatalogItemIdSearchPath, tags
getConfig
static 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 BrooklynObjectInternal
getRebindSupport
in interface Rebindable
BrooklynObjectInternal.RelationSupportInternal<Location> relations()
BrooklynObject
relations
in interface BrooklynObject
relations
in interface BrooklynObjectInternal
relations
in interface Location
ManagementContext getManagementContext()
getManagementContext
in interface BrooklynObjectInternal