Github user ahgittin commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/819#discussion_r138818743
--- Diff: core/src/main/java/org/apache/brooklyn/enricher/stock/Joiner.java
---
@@ -47,31 +47,42 @@
private static final Logger LOG =
LoggerFactory.getLogger(Joiner.class);
public static final ConfigKey<Entity> PRODUCER =
ConfigKeys.newConfigKey(Entity.class,
- "enricher.producer");
+ "enricher.producer",
+ "The entity that has the source sensors (defaults to the
entity that the enricher is attached to)");
+
public static final ConfigKey<Sensor<?>> SOURCE_SENSOR =
ConfigKeys.newConfigKey(new TypeToken<Sensor<?>>() {},
- "enricher.sourceSensor");
+ "enricher.sourceSensor",
+ "The sensor (expected to be of type Map or Iterable) whose
change triggers re-evaluation of the target value");
+
public static final ConfigKey<Sensor<?>> TARGET_SENSOR =
ConfigKeys.newConfigKey(new TypeToken<Sensor<?>>() {},
- "enricher.targetSensor");
+ "enricher.targetSensor",
+ "The sensor that will be set on the associated entity, with
the target value");
--- End diff --
`The sensor to be set on the associated entity with the value computed
here` ?
---