Enrichers.builder()public class SensorPropagatingEnricher extends AbstractEnricher implements SensorEventListener<java.lang.Object>
Enrichers.builder().propagating(sensor).from(source).build()if need to sub-classAbstractEntityAdjunct.AdjunctTagSupport, AbstractEntityAdjunct.BasicSubscriptionSupportBrooklynObject.RelationSupport<T extends BrooklynObject>, BrooklynObject.SubscriptionSupport, BrooklynObject.TagSupportConfigurable.ConfigurationSupportBrooklynObjectInternal.ConfigurationSupportInternal, BrooklynObjectInternal.RelationSupportInternal<T extends BrooklynObject>, BrooklynObjectInternal.SubscriptionSupportInternal| Modifier and Type | Field and Description | 
|---|---|
| static org.slf4j.Logger | logDeprecated.  | 
SUPPRESS_DUPLICATESNOOP| Constructor and Description | 
|---|
| SensorPropagatingEnricher(Entity source,
                         java.util.Collection<Sensor<?>> sensors)Deprecated. 
 since 0.7.0; use  Enrichers.builder() | 
| SensorPropagatingEnricher(Entity source,
                         java.util.Map<? extends Sensor<?>,? extends Sensor<?>> sensors)Deprecated.  | 
| SensorPropagatingEnricher(Entity source,
                         Sensor<?>... sensors)Deprecated. 
 since 0.7.0; use  Enrichers.builder() | 
| Modifier and Type | Method and Description | 
|---|---|
| SensorPropagatingEnricher | addToEntityAndEmitAll(Entity host)Deprecated.  convenience, to be called by the host | 
| void | emitAllAttributes()Deprecated.  useful post-addition to emit current values | 
| void | emitAllAttributes(boolean includeNullValues)Deprecated.  | 
| static SensorPropagatingEnricher | newInstanceListeningTo(Entity source,
                      Sensor<?>... includes)Deprecated.  | 
| static SensorPropagatingEnricher | newInstanceListeningToAllSensors(Entity source)Deprecated.  | 
| static SensorPropagatingEnricher | newInstanceListeningToAllSensorsBut(Entity source,
                                   Sensor<?>... excludes)Deprecated.  | 
| static SensorPropagatingEnricher | newInstanceRenaming(Entity source,
                   java.util.Map<? extends Sensor<?>,? extends Sensor<?>> sensors)Deprecated. 
 since 0.7.0; use  Enrichers.builder() | 
| void | onEvent(SensorEvent<java.lang.Object> event)Deprecated.  The  SensorEventhandler method. | 
| void | setEntity(EntityLocal entity)Deprecated.  | 
getEnricherType, getRebindSupport, relationsconfig, configure, destroy, getAdjunctType, getConfig, getConfigMap, getDisplayName, getUniqueTag, isDestroyed, isRunning, setConfig, setDisplayName, subscribe, subscribeToChildren, subscribeToMembers, subscriptions, tags, toString, unsubscribe, unsubscribegetCatalogItemId, getId, getManagementContext, init, rebind, setCatalogItemId, setManagementContextequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetUniqueTag, isDestroyed, isRunninggetCatalogItemId, getDisplayName, subscriptions, tagsconfig, getConfig, setConfigsetCatalogItemIdpublic SensorPropagatingEnricher(Entity source, Sensor<?>... sensors)
Enrichers.builder()public SensorPropagatingEnricher(Entity source, java.util.Collection<Sensor<?>> sensors)
Enrichers.builder()
 addEnricher(Enrichers.builder()
         .propagating(sensors)
         .from(source)
         .build());
 
 public static SensorPropagatingEnricher newInstanceListeningToAllSensors(Entity source)
public static SensorPropagatingEnricher newInstanceListeningToAllSensorsBut(Entity source, Sensor<?>... excludes)
public static SensorPropagatingEnricher newInstanceListeningTo(Entity source, Sensor<?>... includes)
public static SensorPropagatingEnricher newInstanceRenaming(Entity source, java.util.Map<? extends Sensor<?>,? extends Sensor<?>> sensors)
Enrichers.builder()
 addEnricher(Enrichers.builder()
         .propagating(mapOfOldSensorNamesToNewSensorNames)
         .from(source)
         .build());
 
 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)
public SensorPropagatingEnricher addToEntityAndEmitAll(Entity host)