public abstract class AbstractTransformer<T,U> extends AbstractEnricher implements SensorEventListener<T>
AbstractEntityAdjunct.AdjunctTagSupport, AbstractEntityAdjunct.BasicSubscriptionSupport
BrooklynObject.RelationSupport<T extends BrooklynObject>, BrooklynObject.SubscriptionSupport, BrooklynObject.TagSupport
Configurable.ConfigurationSupport
BrooklynObjectInternal.ConfigurationSupportInternal, BrooklynObjectInternal.RelationSupportInternal<T extends BrooklynObject>, BrooklynObjectInternal.SubscriptionSupportInternal
Modifier and Type | Field and Description |
---|---|
static ConfigKey<Entity> |
PRODUCER |
static ConfigKey<Sensor<?>> |
SOURCE_SENSOR |
static ConfigKey<Sensor<?>> |
TARGET_SENSOR |
SUPPRESS_DUPLICATES
NOOP
Constructor and Description |
---|
AbstractTransformer() |
Modifier and Type | Method and Description |
---|---|
void |
onEvent(SensorEvent<T> event)
The
SensorEvent handler method. |
void |
setEntity(EntityLocal entity) |
getEnricherType, getRebindSupport, relations
config, configure, destroy, getAdjunctType, getConfig, getConfigMap, getDisplayName, getUniqueTag, isDestroyed, isRunning, setConfig, setDisplayName, subscribe, subscribeToChildren, subscribeToMembers, subscriptions, tags, toString, unsubscribe, unsubscribe
getCatalogItemId, getId, getManagementContext, init, rebind, setCatalogItemId, setManagementContext
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getUniqueTag, isDestroyed, isRunning
getCatalogItemId, getDisplayName, subscriptions, tags
config, getConfig, setConfig
setCatalogItemId
public void setEntity(EntityLocal entity)
setEntity
in class AbstractEnricher
public void onEvent(SensorEvent<T> event)
SensorEventListener
SensorEvent
handler method.onEvent
in interface SensorEventListener<T>