Brooklyn

brooklyn.enricher.basic
[Java] Class AbstractTypeTransformingEnricher

java.lang.Object
  brooklyn.policy.basic.AbstractEntityAdjunct
      brooklyn.enricher.basic.AbstractEnricher
          brooklyn.enricher.basic.AbstractTypeTransformingEnricher
All Implemented Interfaces:
SensorEventListener

public abstract class AbstractTypeTransformingEnricher
extends AbstractEnricher

Convenience base for transforming a single sensor into a single new sensor of the same type


Field Summary
protected Sensor target

 
Fields inherited from class AbstractEnricher
leftoverProperties
 
Fields inherited from class AbstractEntityAdjunct
_subscriptionTracker, entity, id, name
 
Constructor Summary
AbstractTypeTransformingEnricher(Entity producer, Sensor source, Sensor target)

 
Method Summary
void setEntity(EntityLocal entity)

 
Methods inherited from class AbstractEnricher
configure
 
Methods inherited from class AbstractEntityAdjunct
check, destroy, getAllSubscriptions, getId, getManagementContext, getName, getSubscriptionTracker, isDestroyed, isRunning, setEntity, setId, setName, subscribe, subscribeToChildren, subscribeToMembers, unsubscribe, unsubscribe
 

Field Detail

target

protected Sensor target


 
Constructor Detail

AbstractTypeTransformingEnricher

public AbstractTypeTransformingEnricher(Entity producer, Sensor source, Sensor target)


 
Method Detail

setEntity

public void setEntity(EntityLocal entity)


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.