Enrichers.builder()
public abstract class AbstractAggregatingEnricher<S,T> extends AbstractEnricher implements SensorEventListener<S>
Group
and should emit an aggregateif need to sub-class
BrooklynObject.TagSupport
SUPPRESS_DUPLICATES
NOOP
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
configure, destroy, getAllConfig, getConfig, getConfigMap, getDisplayName, getName, getUniqueTag, isDestroyed, isRunning, setConfig, setDisplayName, setName, tags, toString
getCatalogItemId, getId, getManagementContext, getTagSupport, init, rebind, setCatalogItemId, setManagementContext
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAllConfig, getConfig, getId, getName, setConfig
getUniqueTag, isDestroyed, isRunning
getCatalogItemId, getDisplayName, getTagSupport, tags
setCatalogItemId
public 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)
SensorEventListener
SensorEvent
handler method.onEvent
in interface SensorEventListener<S>
public void setEntity(EntityLocal entity)
setEntity
in class AbstractEnricher