public interface LocationInternal extends BrooklynObjectInternal, Location
BrooklynObjectInternal.ConfigurationSupportInternal
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.
|
java.util.Map<java.lang.String,java.lang.String> |
toMetadataRecord()
Get a record of the metadata of this location.
|
config, setCatalogItemId
containsLocation, getAllConfig, getChildren, getConfig, getConfig, getDisplayName, getExtension, getId, getParent, hasConfig, hasExtension, setParent, toVerboseString
getCatalogItemId, getTagSupport, tags
setConfig
@Beta static final ConfigKey<java.lang.String> ORIGINAL_SPEC
@Beta static final ConfigKey<java.lang.String> FINAL_SPEC
@Beta 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
ManagementContext getManagementContext()