public class Combiner<T,U> extends AbstractEnricher implements SensorEventListener<T>
AbstractEntityAdjunct.AdjunctTagSupportBrooklynObject.TagSupportConfigurable.ConfigurationSupportBrooklynObjectInternal.ConfigurationSupportInternal| Modifier and Type | Field and Description |
|---|---|
static ConfigKey<Entity> |
PRODUCER |
static ConfigKey<java.util.Set<Sensor<?>>> |
SOURCE_SENSORS |
static ConfigKey<Sensor<?>> |
TARGET_SENSOR |
static ConfigKey<com.google.common.base.Function<?,?>> |
TRANSFORMATION |
static ConfigKey<com.google.common.base.Predicate<?>> |
VALUE_FILTER |
SUPPRESS_DUPLICATESNOOP| Constructor and Description |
|---|
Combiner() |
| Modifier and Type | Method and Description |
|---|---|
void |
onEvent(SensorEvent<T> event)
The
SensorEvent handler method. |
void |
setEntity(EntityLocal entity) |
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 static ConfigKey<com.google.common.base.Function<?,?>> TRANSFORMATION
public static final ConfigKey<com.google.common.base.Predicate<?>> VALUE_FILTER
public void setEntity(EntityLocal entity)
setEntity in class AbstractEnricherpublic void onEvent(SensorEvent<T> event)
SensorEventListenerSensorEvent handler method.onEvent in interface SensorEventListener<T>