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.Delta
public java.util.Collection<EntityMemento> entities()
entities
in interface BrooklynMementoPersister.Delta
public java.util.Collection<PolicyMemento> policies()
policies
in interface BrooklynMementoPersister.Delta
public java.util.Collection<EnricherMemento> enrichers()
enrichers
in interface BrooklynMementoPersister.Delta
public java.util.Collection<FeedMemento> feeds()
feeds
in interface BrooklynMementoPersister.Delta
public java.util.Collection<CatalogItemMemento> catalogItems()
catalogItems
in interface BrooklynMementoPersister.Delta
public java.util.Collection<java.lang.String> removedLocationIds()
removedLocationIds
in interface BrooklynMementoPersister.Delta
public java.util.Collection<java.lang.String> removedEntityIds()
removedEntityIds
in interface BrooklynMementoPersister.Delta
public java.util.Collection<java.lang.String> removedPolicyIds()
removedPolicyIds
in interface BrooklynMementoPersister.Delta
public java.util.Collection<java.lang.String> removedEnricherIds()
removedEnricherIds
in interface BrooklynMementoPersister.Delta
public java.util.Collection<java.lang.String> removedFeedIds()
removedFeedIds
in interface BrooklynMementoPersister.Delta
public java.util.Collection<java.lang.String> removedCatalogItemIds()
removedCatalogItemIds
in interface BrooklynMementoPersister.Delta
public java.util.Collection<? extends Memento> getObjectsOfType(BrooklynObjectType type)
getObjectsOfType
in interface BrooklynMementoPersister.Delta
public java.util.Collection<java.lang.String> getRemovedIdsOfType(BrooklynObjectType type)
getRemovedIdsOfType
in interface BrooklynMementoPersister.Delta
public void add(BrooklynObjectType type, Memento memento)
add
in interface BrooklynMementoPersister.MutableDelta
public void addAll(BrooklynObjectType type, java.lang.Iterable<? extends Memento> mementos)
addAll
in interface BrooklynMementoPersister.MutableDelta
public void removed(BrooklynObjectType type, java.util.Set<java.lang.String> removedIdsOfType)
removed
in interface BrooklynMementoPersister.MutableDelta