Enrichers.builder()public class AddingEnricher extends AbstractEnricher implements SensorEventListener
 addEnricher(Enrichers.builder()
         .combining(sources)
         .publishing(target)
         .computeSum()
         .build());
 
 
 if need to sub-classAbstractEntityAdjunct.AdjunctTagSupportBrooklynObject.TagSupportConfigurable.ConfigurationSupportBrooklynObjectInternal.ConfigurationSupportInternalSUPPRESS_DUPLICATESNOOP| Constructor and Description | 
|---|
AddingEnricher(Sensor[] sources,
              Sensor<? extends java.lang.Number> target)
Deprecated.  
  | 
| Modifier and Type | Method and Description | 
|---|---|
static <V> V | 
cast(java.lang.Number value,
    java.lang.Class<V> type)
Deprecated.  
  | 
void | 
onEvent(SensorEvent event)
Deprecated.  
The  
SensorEvent handler method. | 
void | 
setEntity(EntityLocal entity)
Deprecated.  
  | 
getEnricherType, getRebindSupportconfig, configure, destroy, getConfig, getConfigMap, getDisplayName, getUniqueTag, isDestroyed, isRunning, setConfig, setDisplayName, subscribe, subscribeToChildren, subscribeToMembers, tags, toString, unsubscribe, unsubscribegetCatalogItemId, getId, getManagementContext, init, rebind, setCatalogItemId, setManagementContextequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetConfig, getId, setConfiggetUniqueTag, isDestroyed, isRunninggetCatalogItemId, getDisplayName, tagsconfigsetCatalogItemIdpublic void setEntity(EntityLocal entity)
setEntity in class AbstractEnricherpublic void onEvent(SensorEvent event)
SensorEventListenerSensorEvent handler method.onEvent in interface SensorEventListenerpublic static <V> V cast(java.lang.Number value,
         java.lang.Class<V> type)