Enrichers.builder()public abstract class AbstractAggregatingEnricher<S,T> extends AbstractEnricher implements SensorEventListener<S>
Group and should emit an aggregateif need to sub-classAbstractEntityAdjunct.AdjunctTagSupportBrooklynObject.TagSupportConfigurable.ConfigurationSupportBrooklynObjectInternal.ConfigurationSupportInternalSUPPRESS_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
SensorEvent handler method. |
S |
removeProducer(Entity producer)
Deprecated.
|
void |
setEntity(EntityLocal entity)
Deprecated.
|
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 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