Github user drigodwin commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/819#discussion_r138606016
--- Diff:
core/src/main/java/org/apache/brooklyn/enricher/stock/Aggregator.java ---
@@ -65,18 +66,22 @@
"'list' (the default, putting any collection of items
into a list), " +
"or 'first' (the first value, or null if empty)");
- public static final ConfigKey<Function<? super Collection<?>, ?>>
TRANSFORMATION = ConfigKeys.newConfigKey(new TypeToken<Function<? super
Collection<?>, ?>>() {},
- "enricher.transformation");
+ public static final ConfigKey<Function<? super Collection<?>, ?>>
TRANSFORMATION = ConfigKeys.newConfigKey(
+ new TypeToken<Function<? super Collection<?>, ?>>() {},
+ "enricher.transformation",
+ "A function to be executed to evaluate the target sensor");
/**
* @see QuorumChecks
*/
public static final ConfigKey<String> QUORUM_CHECK_TYPE =
ConfigKeys.newStringConfigKey(
- "quorum.check.type", "The requirement to be considered quorate
-- possible values: " +
+ "quorum.check.type",
+ "The requirement to be considered quorate (used with
transformation of type 'isQuorate') -- possible values: " +
"'all', 'allAndAtLeastOne', 'atLeastOne',
'atLeastOneUnlessEmpty', 'alwaysHealthy'", "allAndAtLeastOne");
public static final ConfigKey<Integer> QUORUM_TOTAL_SIZE =
ConfigKeys.newIntegerConfigKey(
- "quorum.total.size", "The total size to consider when
determining if quorate", 1);
+ "quorum.total.size",
+ "The total size to consider when determining if quorate (used
iwth transformation of type 'isQuorate')", 1);
--- End diff --
typo iwth -> with
---