Brooklyn

brooklyn.policy
[Java] Interface Enricher

brooklyn.policy.EntityAdjunct
  brooklyn.entity.trait.Identifiable
      brooklyn.policy.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
java.util.Map getAllConfig()

java.lang.Object getConfig(ConfigKey key)

EnricherType getEnricherType()

Information about the type of this entity; analogous to Java's object.getClass.

java.lang.String getId()

A unique id for this enricher.

java.lang.String getName()

Get the name assigned to this enricher.

java.lang.Object setConfig(ConfigKey key, java.lang.Object val)

 
Methods inherited from interface EntityAdjunct
getId, getName, isDestroyed, isRunning
 
Methods inherited from interface Identifiable
getId
 

Method Detail

getAllConfig

public java.util.Map getAllConfig()


getConfig

public java.lang.Object getConfig(ConfigKey key)


getEnricherType

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


getId

@Override
public java.lang.String getId()
A unique id for this enricher.


getName

@Override
public java.lang.String getName()
Get the name assigned to this enricher.


setConfig

public java.lang.Object setConfig(ConfigKey key, java.lang.Object val)


 

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