Enrichers.builder()public class AddingEnricher extends AbstractEnricher implements SensorEventListener
 addEnricher(Enrichers.builder()
         .combining(sources)
         .publishing(target)
         .computeSum()
         .build());
 
 
 if need to sub-classBrooklynObject.TagSupportSUPPRESS_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  SensorEventhandler method. | 
| 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 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)