Do not generate 'isFoo()' methods
[mdsal.git] / dom / mdsal-dom-spi / src / main / java / org / opendaylight / mdsal / dom / spi / shard / WriteableDOMDataTreeShard.java
1 /*
2  * Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.mdsal.dom.spi.shard;
9
10 import com.google.common.annotations.Beta;
11 import java.util.Collection;
12 import org.opendaylight.mdsal.dom.api.DOMDataTreeIdentifier;
13 import org.opendaylight.mdsal.dom.api.DOMDataTreeShard;
14
15 /**
16  * Indicates that a shard is writable via the provided {@link #createProducer(Collection) createProducer} method.
17  *
18  * @deprecated This interface is scheduled for removal in the next major release.
19  */
20 @Deprecated(forRemoval = true)
21 @Beta
22 public interface WriteableDOMDataTreeShard extends DOMDataTreeShard {
23
24     /**
25      * Create a producer that has the ability to write into the provided subtrees.
26      *
27      * @param paths Subtrees that the caller wants to write into.
28      * @return Producer.
29      */
30     DOMDataTreeShardProducer createProducer(Collection<DOMDataTreeIdentifier> paths);
31 }