brooklyn.entity.rebind.PersisterDeltaImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of brooklyn-core Show documentation
Show all versions of brooklyn-core Show documentation
Entity implementation classes, events, and other core elements
package brooklyn.entity.rebind;
import java.util.Collection;
import brooklyn.mementos.BrooklynMementoPersister.Delta;
import brooklyn.mementos.EntityMemento;
import brooklyn.mementos.LocationMemento;
import brooklyn.mementos.PolicyMemento;
import com.google.common.collect.Sets;
class PersisterDeltaImpl implements Delta {
Collection locations = Sets.newLinkedHashSet();
Collection entities = Sets.newLinkedHashSet();
Collection policies = Sets.newLinkedHashSet();
Collection removedLocationIds = Sets.newLinkedHashSet();
Collection removedEntityIds = Sets.newLinkedHashSet();
Collection removedPolicyIds = Sets.newLinkedHashSet();
@Override
public Collection locations() {
return locations;
}
@Override
public Collection entities() {
return entities;
}
@Override
public Collection policies() {
return policies;
}
@Override
public Collection removedLocationIds() {
return removedLocationIds;
}
@Override
public Collection removedEntityIds() {
return removedEntityIds;
}
@Override
public Collection removedPolicyIds() {
return removedPolicyIds;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy