brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henev...@apache.org
Subject [02/21] incubator-brooklyn git commit: Deprecate java type based items in favor of parser dependent plans
Date Mon, 09 Nov 2015 12:55:11 GMT
Deprecate java type based items in favor of parser dependent plans


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

Branch: refs/heads/master
Commit: 5c5e087fe7a578bbe9c84539833910f062ad8ab0
Parents: 54b4b3c
Author: Svetoslav Neykov <svetoslav.neykov@cloudsoftcorp.com>
Authored: Mon Oct 26 17:56:47 2015 +0200
Committer: Svetoslav Neykov <svetoslav.neykov@cloudsoftcorp.com>
Committed: Thu Nov 5 14:23:24 2015 +0200

----------------------------------------------------------------------
 .../java/org/apache/brooklyn/api/catalog/CatalogItem.java    | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/5c5e087f/api/src/main/java/org/apache/brooklyn/api/catalog/CatalogItem.java
----------------------------------------------------------------------
diff --git a/api/src/main/java/org/apache/brooklyn/api/catalog/CatalogItem.java b/api/src/main/java/org/apache/brooklyn/api/catalog/CatalogItem.java
index d27436e..de07640 100644
--- a/api/src/main/java/org/apache/brooklyn/api/catalog/CatalogItem.java
+++ b/api/src/main/java/org/apache/brooklyn/api/catalog/CatalogItem.java
@@ -70,8 +70,12 @@ public interface CatalogItem<T,SpecT> extends BrooklynObject, Rebindable
{
     /** @return The type of the spec e.g. EntitySpec corresponding to {@link #getCatalogItemJavaType()}
*/
     public Class<SpecT> getSpecType();
     
-    /** @return The underlying java type of the item represented, if not described via a
YAML spec.
-     * Normally null (and the type comes from yaml). */
+    /**
+     * @return The underlying java type of the item represented, if not described via a YAML
spec.
+     * Normally null (and the type comes from yaml).
+     * @deprecated since 0.9.0. Use plan based items instead ({@link #getPlanYaml()})
+     */
+    @Deprecated
     @Nullable public String getJavaType();
 
     /** @deprecated since 0.7.0. Use {@link #getDisplayName} */


Mime
View raw message