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 |
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.
|
ConfigBag |
getAllConfigBag()
Deprecated.
since 0.7.0; use
BrooklynObjectInternal.config() , such as ((LocationInternal)location).config().getBag() |
ConfigBag |
getLocalConfigBag()
Deprecated.
since 0.7.0; use
BrooklynObjectInternal.config() , such as ((LocationInternal)location).config().getLocalBag() |
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.
|
config, setCatalogItemId, subscriptions
containsLocation, getAllConfig, getChildren, getConfig, getDisplayName, getExtension, getId, getParent, hasConfig, hasExtension, setParent, toVerboseString
getCatalogItemId, tags
getConfig, setConfig
static final ConfigKey<java.lang.String> ORIGINAL_SPEC
static final ConfigKey<java.lang.String> FINAL_SPEC
static final ConfigKey<java.lang.String> NAMED_SPEC_NAME
<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.
@Deprecated ConfigBag getLocalConfigBag()
BrooklynObjectInternal.config()
, such as ((LocationInternal)location).config().getLocalBag()
@Deprecated ConfigBag getAllConfigBag()
BrooklynObjectInternal.config()
, such as ((LocationInternal)location).config().getBag()
ConfigInheritance
and so usage is discouraged.@Beta 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()