Enrichers.builder()public abstract class AbstractAggregatingEnricher<S,T> extends AbstractEnricher implements SensorEventListener<S>
Group and should emit an aggregateif need to sub-classAbstractEntityAdjunct.AdjunctTagSupport, AbstractEntityAdjunct.BasicSubscriptionSupportBrooklynObject.RelationSupport<T extends BrooklynObject>, BrooklynObject.SubscriptionSupport, BrooklynObject.TagSupportConfigurable.ConfigurationSupportBrooklynObjectInternal.ConfigurationSupportInternal, BrooklynObjectInternal.RelationSupportInternal<T extends BrooklynObject>, BrooklynObjectInternal.SubscriptionSupportInternalSUPPRESS_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, getRebindSupport, relationsconfig, configure, destroy, getAdjunctType, getConfig, getDisplayName, getEntity, 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 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