public class MementosGenerators
extends java.lang.Object
public static Memento newMemento(BrooklynObject instance)
newBasicMemento(BrooklynObject)
@Beta public static Memento newBasicMemento(BrooklynObject instance)
The memento is "basic" in the sense that it does not tie in to any entity-specific customization; the corresponding memento may subsequently be customized by the caller.
This method is intended for use by AbstractBrooklynObjectRebindSupport.getMemento()
and callers wanting a memento for an object should use that, or the
BrooklynPersistenceUtils.newObjectMemento(BrooklynObject)
convenience.
@Deprecated public static BrooklynMemento newBrooklynMemento(ManagementContext managementContext)
@Deprecated public static EntityMemento newEntityMemento(Entity entity)
newBasicMemento(BrooklynObject)
@Deprecated public static BasicEntityMemento.Builder newEntityMementoBuilder(Entity entityRaw)
newBasicMemento(BrooklynObject)
instead@Deprecated public static com.google.common.base.Function<Entity,EntityMemento> entityMementoFunction()
newBasicMemento(BrooklynObject)
@Deprecated public static LocationMemento newLocationMemento(Location location)
newBasicMemento(BrooklynObject)
@Deprecated public static BasicLocationMemento.Builder newLocationMementoBuilder(Location location)
newBasicMemento(BrooklynObject)
instead@Deprecated public static com.google.common.base.Function<Location,LocationMemento> locationMementoFunction()
newBasicMemento(BrooklynObject)
@Deprecated public static PolicyMemento newPolicyMemento(Policy policy)
newBasicMemento(BrooklynObject)
@Deprecated public static com.google.common.base.Function<Policy,PolicyMemento> policyMementoFunction()
newBasicMemento(BrooklynObject)
@Deprecated public static EnricherMemento newEnricherMemento(Enricher enricher)
newBasicMemento(BrooklynObject)
@Deprecated public static FeedMemento newFeedMemento(Feed feed)
newBasicMemento(BrooklynObject)
@Deprecated public static CatalogItemMemento newCatalogItemMemento(CatalogItem<?,?> catalogItem)
newBasicMemento(BrooklynObject)
public static com.google.common.base.Function<Enricher,EnricherMemento> enricherMementoFunction()
public static com.google.common.base.Function<Feed,FeedMemento> feedMementoFunction()