brooklyn.policy
Interface Enricher

All Superinterfaces:
EntityAdjunct, Identifiable

public interface Enricher
extends EntityAdjunct

Publishes metrics for an entity, e.g. aggregating information from other sensors/entities. Has some similarities to Policy. However, enrichers specifically do not invoke effectors and should only function to publish new metrics.


Method Summary
 Map<brooklyn.config.ConfigKey<?>,Object> getAllConfig()
           
<T> T
getConfig(brooklyn.config.ConfigKey<T> key)
           
 EnricherType getEnricherType()
          Information about the type of this entity; analogous to Java's object.getClass.
 String getId()
          A unique id for this enricher.
 String getName()
          Get the name assigned to this enricher.
<T> T
setConfig(brooklyn.config.ConfigKey<T> key, T val)
           
 
Methods inherited from interface brooklyn.policy.EntityAdjunct
isDestroyed, isRunning
 

Method Detail

getId

String getId()
A unique id for this enricher.

Specified by:
getId in interface EntityAdjunct
Specified by:
getId in interface Identifiable

getName

String getName()
Get the name assigned to this enricher.

Specified by:
getName in interface EntityAdjunct
Returns:
the name assigned to the adjunct

getEnricherType

@Beta
EnricherType getEnricherType()
Information about the type of this entity; analogous to Java's object.getClass.


getConfig

<T> T getConfig(brooklyn.config.ConfigKey<T> key)

setConfig

<T> T setConfig(brooklyn.config.ConfigKey<T> key,
                T val)

getAllConfig

Map<brooklyn.config.ConfigKey<?>,Object> getAllConfig()


Copyright © 2013. All Rights Reserved.