public class Propagator extends AbstractEnricher implements SensorEventListener<java.lang.Object>
AbstractEntityAdjunct.AdjunctTagSupportBrooklynObject.TagSupportConfigurable.ConfigurationSupportBrooklynObjectInternal.ConfigurationSupportInternal| Modifier and Type | Field and Description |
|---|---|
static ConfigKey<Entity> |
PRODUCER |
static ConfigKey<java.util.Collection<? extends Sensor<?>>> |
PROPAGATING |
static ConfigKey<java.lang.Boolean> |
PROPAGATING_ALL |
static ConfigKey<java.util.Collection<Sensor<?>>> |
PROPAGATING_ALL_BUT |
static ConfigKey<java.util.Map<? extends Sensor<?>,? extends Sensor<?>>> |
SENSOR_MAPPING |
static java.util.Set<Sensor<?>> |
SENSORS_NOT_USUALLY_PROPAGATED |
SUPPRESS_DUPLICATESNOOP| Constructor and Description |
|---|
Propagator() |
| Modifier and Type | Method and Description |
|---|---|
void |
emitAllAttributes()
useful once sensors are added to emit all values
|
void |
emitAllAttributes(boolean includeNullValues) |
void |
onEvent(SensorEvent<java.lang.Object> event)
The
SensorEvent handler method. |
void |
setEntity(EntityLocal entity) |
getEnricherType, getRebindSupportconfig, configure, destroy, getAllConfig, getConfig, getConfigMap, getDisplayName, getName, getUniqueTag, isDestroyed, isRunning, setConfig, setDisplayName, setName, tags, toStringgetCatalogItemId, getId, getManagementContext, getTagSupport, init, rebind, setCatalogItemId, setManagementContextequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAllConfig, getConfig, getId, getName, setConfiggetUniqueTag, isDestroyed, isRunninggetCatalogItemId, getDisplayName, getTagSupport, tagsconfigsetCatalogItemIdpublic static final java.util.Set<Sensor<?>> SENSORS_NOT_USUALLY_PROPAGATED
public static ConfigKey<java.lang.Boolean> PROPAGATING_ALL
public void setEntity(EntityLocal entity)
setEntity in class AbstractEnricherpublic void onEvent(SensorEvent<java.lang.Object> event)
SensorEventListenerSensorEvent handler method.onEvent in interface SensorEventListener<java.lang.Object>public void emitAllAttributes()
public void emitAllAttributes(boolean includeNullValues)