Deprecate Attributes.VERSION - USe ConfigKeys.SUGGESTED_VERSION instead
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/8c3bfdd5 Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/8c3bfdd5 Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/8c3bfdd5 Branch: refs/heads/0.5.0 Commit: 8c3bfdd56726fb536b9bee2f2cd984589666e411 Parents: d2ed034 Author: Aled Sage <[email protected]> Authored: Sun Mar 31 20:44:31 2013 +0100 Committer: Aled Sage <[email protected]> Committed: Sun Mar 31 20:44:31 2013 +0100 ---------------------------------------------------------------------- core/src/main/java/brooklyn/entity/basic/Attributes.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/8c3bfdd5/core/src/main/java/brooklyn/entity/basic/Attributes.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/brooklyn/entity/basic/Attributes.java b/core/src/main/java/brooklyn/entity/basic/Attributes.java index bb60238..682f9d2 100644 --- a/core/src/main/java/brooklyn/entity/basic/Attributes.java +++ b/core/src/main/java/brooklyn/entity/basic/Attributes.java @@ -21,10 +21,12 @@ public interface Attributes { Void.class, "entity.locationChanged", "Indicates that an entity's location has been changed"); - /* + /** * Application information sensors. - * @see SoftwareProcessEntities.SUGGESTED_VERSION + * + * @deprecated since 0.5; see {@link ConfigKeys#SUGGESTED_VERSION} */ + @Deprecated BasicAttributeSensor<String> VERSION = new BasicAttributeSensor<String>(String.class, "version", "Version information"); BasicAttributeSensorAndConfigKey<String> DOWNLOAD_URL = new BasicAttributeSensorAndConfigKey<String>(
