public abstract class AbstractTransformer<T,U> extends AbstractEnricher implements SensorEventListener<T>
AbstractEntityAdjunct.AdjunctTagSupportBrooklynObject.TagSupportConfigurable.ConfigurationSupportBrooklynObjectInternal.ConfigurationSupportInternal| Modifier and Type | Field and Description |
|---|---|
static ConfigKey<Entity> |
PRODUCER |
static ConfigKey<Sensor<?>> |
SOURCE_SENSOR |
static ConfigKey<Sensor<?>> |
TARGET_SENSOR |
SUPPRESS_DUPLICATESNOOP| Constructor and Description |
|---|
AbstractTransformer() |
| Modifier and Type | Method and Description |
|---|---|
void |
onEvent(SensorEvent<T> event)
The
SensorEvent handler method. |
void |
setEntity(EntityLocal entity) |
getEnricherType, getRebindSupportconfig, configure, destroy, getConfig, getConfigMap, getDisplayName, getUniqueTag, isDestroyed, isRunning, setConfig, setDisplayName, subscribe, subscribeToChildren, subscribeToMembers, tags, toString, unsubscribe, unsubscribegetCatalogItemId, getId, getManagementContext, init, rebind, setCatalogItemId, setManagementContextequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetConfig, getId, setConfiggetUniqueTag, isDestroyed, isRunninggetCatalogItemId, getDisplayName, tagsconfigsetCatalogItemIdpublic void setEntity(EntityLocal entity)
setEntity in class AbstractEnricherpublic void onEvent(SensorEvent<T> event)
SensorEventListenerSensorEvent handler method.onEvent in interface SensorEventListener<T>