public interface Enricher extends EntityAdjunct, Rebindable, Configurable
Policy
. However, enrichers specifically do not invoke
effectors and should only function to publish new metrics.BrooklynObject.TagSupport
Configurable.ConfigurationSupport
Modifier and Type | Method and Description |
---|---|
java.util.Map<ConfigKey<?>,java.lang.Object> |
getAllConfig()
Deprecated.
since 0.7.0; use
Configurable.config() , such as policy.config().getBag() |
<T> T |
getConfig(ConfigKey<T> key)
Convenience method for
config().get(key) |
EnricherType |
getEnricherType()
Information about the type of this entity; analogous to Java's object.getClass.
|
java.lang.String |
getId()
A unique id for this enricher.
|
java.lang.String |
getName()
Deprecated.
since 0.7; use
BrooklynObject.getDisplayName() |
RebindSupport<EnricherMemento> |
getRebindSupport()
Users are strongly discouraged from calling or overriding this method.
|
<T> T |
setConfig(ConfigKey<T> key,
T val)
Deprecated.
since 0.7.0; use
Configurable.config() , such as policy.config().setConfig(key, val) |
getUniqueTag, isDestroyed, isRunning
getCatalogItemId, getDisplayName, getTagSupport, tags
config
java.lang.String getId()
getId
in interface EntityAdjunct
getId
in interface Identifiable
@Deprecated java.lang.String getName()
BrooklynObject.getDisplayName()
getName
in interface EntityAdjunct
@Beta EnricherType getEnricherType()
<T> T getConfig(ConfigKey<T> key)
config().get(key)
@Deprecated <T> T setConfig(ConfigKey<T> key, T val)
setConfig
in interface Configurable
@Deprecated java.util.Map<ConfigKey<?>,java.lang.Object> getAllConfig()
@Beta RebindSupport<EnricherMemento> getRebindSupport()
getRebindSupport
in interface Rebindable