brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From drigod...@apache.org
Subject [2/9] brooklyn-server git commit: Deprecate AbstractGroup.MEMBER_DELEGATE_NAME_FORMAT
Date Fri, 15 Sep 2017 11:42:14 GMT
Deprecate AbstractGroup.MEMBER_DELEGATE_NAME_FORMAT

Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/cb416a23
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/cb416a23
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/cb416a23

Branch: refs/heads/master
Commit: cb416a2316bc48c85ef08beb22359d93394bee8f
Parents: 651f63c
Author: Aled Sage <aled.sage@gmail.com>
Authored: Tue Sep 12 16:07:41 2017 +0100
Committer: Aled Sage <aled.sage@gmail.com>
Committed: Tue Sep 12 18:31:57 2017 +0100

----------------------------------------------------------------------
 .../java/org/apache/brooklyn/entity/group/AbstractGroup.java   | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/cb416a23/core/src/main/java/org/apache/brooklyn/entity/group/AbstractGroup.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/brooklyn/entity/group/AbstractGroup.java b/core/src/main/java/org/apache/brooklyn/entity/group/AbstractGroup.java
index 71ed88e..4deb78b 100644
--- a/core/src/main/java/org/apache/brooklyn/entity/group/AbstractGroup.java
+++ b/core/src/main/java/org/apache/brooklyn/entity/group/AbstractGroup.java
@@ -63,9 +63,13 @@ public interface AbstractGroup extends Entity, Group, Changeable {
     ConfigKey<Boolean> MEMBER_DELEGATE_CHILDREN = ConfigKeys.newBooleanConfigKey(
             "group.members.delegate", "Deprecated: Add delegate child entities for members
of the group", Boolean.FALSE);
 
+    /**
+     * @deprecated since 0.12.0, but was only ever used in {@link #MEMBER_DELEGATE_CHILDREN}
was set (so effectively deprecated since 0.9.0).
+     */
+    @Deprecated
     ConfigKey<String> MEMBER_DELEGATE_NAME_FORMAT = ConfigKeys.newStringConfigKey(
             "group.members.delegate.nameFormat", 
-            "Delegate members name format string (Use %s for the original entity display
name)", 
+            "Deprecated: Delegate members name format string (Use %s for the original entity
display name)", 
             "%s");
 
     ConfigKey<QuorumCheck> UP_QUORUM_CHECK = ConfigKeys.newConfigKeyWithDefault(ComputeServiceIndicatorsFromChildrenAndMembers.UP_QUORUM_CHECK,



Mime
View raw message