public class PersisterDeltaImpl extends java.lang.Object implements BrooklynMementoPersister.Delta, BrooklynMementoPersister.MutableDelta
| Constructor and Description |
|---|
PersisterDeltaImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(BrooklynObjectType type,
Memento memento) |
void |
addAll(BrooklynObjectType type,
java.lang.Iterable<? extends Memento> mementos) |
java.util.Collection<CatalogItemMemento> |
catalogItems() |
java.util.Collection<EnricherMemento> |
enrichers() |
java.util.Collection<EntityMemento> |
entities() |
java.util.Collection<FeedMemento> |
feeds() |
java.util.Collection<? extends Memento> |
getObjectsOfType(BrooklynObjectType type) |
java.util.Collection<java.lang.String> |
getRemovedIdsOfType(BrooklynObjectType type) |
java.util.Collection<LocationMemento> |
locations() |
java.util.Collection<PolicyMemento> |
policies() |
void |
removed(BrooklynObjectType type,
java.util.Set<java.lang.String> removedIdsOfType) |
java.util.Collection<java.lang.String> |
removedCatalogItemIds() |
java.util.Collection<java.lang.String> |
removedEnricherIds() |
java.util.Collection<java.lang.String> |
removedEntityIds() |
java.util.Collection<java.lang.String> |
removedFeedIds() |
java.util.Collection<java.lang.String> |
removedLocationIds() |
java.util.Collection<java.lang.String> |
removedPolicyIds() |
public java.util.Collection<LocationMemento> locations()
locations in interface BrooklynMementoPersister.Deltapublic java.util.Collection<EntityMemento> entities()
entities in interface BrooklynMementoPersister.Deltapublic java.util.Collection<PolicyMemento> policies()
policies in interface BrooklynMementoPersister.Deltapublic java.util.Collection<EnricherMemento> enrichers()
enrichers in interface BrooklynMementoPersister.Deltapublic java.util.Collection<FeedMemento> feeds()
feeds in interface BrooklynMementoPersister.Deltapublic java.util.Collection<CatalogItemMemento> catalogItems()
catalogItems in interface BrooklynMementoPersister.Deltapublic java.util.Collection<java.lang.String> removedLocationIds()
removedLocationIds in interface BrooklynMementoPersister.Deltapublic java.util.Collection<java.lang.String> removedEntityIds()
removedEntityIds in interface BrooklynMementoPersister.Deltapublic java.util.Collection<java.lang.String> removedPolicyIds()
removedPolicyIds in interface BrooklynMementoPersister.Deltapublic java.util.Collection<java.lang.String> removedEnricherIds()
removedEnricherIds in interface BrooklynMementoPersister.Deltapublic java.util.Collection<java.lang.String> removedFeedIds()
removedFeedIds in interface BrooklynMementoPersister.Deltapublic java.util.Collection<java.lang.String> removedCatalogItemIds()
removedCatalogItemIds in interface BrooklynMementoPersister.Deltapublic java.util.Collection<? extends Memento> getObjectsOfType(BrooklynObjectType type)
getObjectsOfType in interface BrooklynMementoPersister.Deltapublic java.util.Collection<java.lang.String> getRemovedIdsOfType(BrooklynObjectType type)
getRemovedIdsOfType in interface BrooklynMementoPersister.Deltapublic void add(BrooklynObjectType type, Memento memento)
add in interface BrooklynMementoPersister.MutableDeltapublic void addAll(BrooklynObjectType type, java.lang.Iterable<? extends Memento> mementos)
addAll in interface BrooklynMementoPersister.MutableDeltapublic void removed(BrooklynObjectType type, java.util.Set<java.lang.String> removedIdsOfType)
removed in interface BrooklynMementoPersister.MutableDelta