Enrichers.builder()public abstract class AbstractAggregatingEnricher<S,T> extends AbstractEnricher implements SensorEventListener<S>
Group and should emit an aggregateif need to sub-classBrooklynObject.TagSupportSUPPRESS_DUPLICATESNOOP| Constructor and Description | 
|---|
| AbstractAggregatingEnricher(java.util.Map<java.lang.String,?> flags,
                           AttributeSensor<? extends S> source,
                           AttributeSensor<T> target)Deprecated.  | 
| AbstractAggregatingEnricher(java.util.Map<java.lang.String,?> flags,
                           AttributeSensor<? extends S> source,
                           AttributeSensor<T> target,
                           S defaultValue)Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addProducer(Entity producer)Deprecated.  | 
| void | onEvent(SensorEvent<S> event)Deprecated.  The  SensorEventhandler method. | 
| S | removeProducer(Entity producer)Deprecated.  | 
| void | setEntity(EntityLocal entity)Deprecated.  | 
getEnricherType, getRebindSupportconfigure, 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, tagssetCatalogItemIdpublic AbstractAggregatingEnricher(java.util.Map<java.lang.String,?> flags,
                           AttributeSensor<? extends S> source,
                           AttributeSensor<T> target)
public AbstractAggregatingEnricher(java.util.Map<java.lang.String,?> flags,
                           AttributeSensor<? extends S> source,
                           AttributeSensor<T> target,
                           S defaultValue)
public void addProducer(Entity producer)
public void onEvent(SensorEvent<S> event)
SensorEventListenerSensorEvent handler method.onEvent in interface SensorEventListener<S>public void setEntity(EntityLocal entity)
setEntity in class AbstractEnricher