brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aledsage <...@git.apache.org>
Subject [GitHub] incubator-brooklyn pull request: BROOKLYN-49: Catalogue persistenc...
Date Fri, 19 Sep 2014 14:13:32 GMT
Github user aledsage commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/175#discussion_r17786587
  
    --- Diff: api/src/main/java/brooklyn/catalog/CatalogItem.java ---
    @@ -19,17 +19,20 @@
     package brooklyn.catalog;
     
     import java.util.List;
    -
     import javax.annotation.Nonnull;
     import javax.annotation.Nullable;
     
    +import com.google.common.annotations.Beta;
    +
    +import brooklyn.basic.BrooklynObject;
    +import brooklyn.entity.rebind.RebindSupport;
    +import brooklyn.entity.rebind.Rebindable;
     import brooklyn.management.ManagementContext;
     import brooklyn.management.classloading.BrooklynClassLoadingContext;
    -
    -import com.google.common.annotations.Beta;
    +import brooklyn.mementos.CatalogItemMemento;
     
     @Beta
    -public interface CatalogItem<T,SpecT> {
    +public interface CatalogItem<T,SpecT> extends BrooklynObject, Rebindable {
         
         public static enum CatalogItemType {
             TEMPLATE, ENTITY, POLICY, CONFIGURATION
    --- End diff --
    
    We should also add `ENRICHER` at some point soon.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message