1 package org.opendaylight.controller.md.sal.dom.store.impl.tree.data;
3 import org.opendaylight.yangtools.yang.data.api.InstanceIdentifier;
5 import com.google.common.base.Preconditions;
7 final class InMemoryDataTreeCandidate extends AbstractDataTreeCandidate {
8 private final StoreMetadataNode newRoot;
9 private final StoreMetadataNode oldRoot;
11 InMemoryDataTreeCandidate(final InstanceIdentifier rootPath, final NodeModification modificationRoot,
12 final StoreMetadataNode oldRoot, final StoreMetadataNode newRoot) {
13 super(rootPath, modificationRoot);
14 this.newRoot = Preconditions.checkNotNull(newRoot);
15 this.oldRoot = Preconditions.checkNotNull(oldRoot);
20 // FIXME: abort operation here :)
24 public StoreMetadataNode getBeforeRoot() {
29 public StoreMetadataNode getAfterRoot() {