Remove the config-netconf-connector
[netconf.git] / netconf / tools / netconf-testtool / src / main / java / org / opendaylight / netconf / test / tool / operations / OperationsCreator.java
1 /*
2  * Copyright (c) 2014 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
9 package org.opendaylight.netconf.test.tool.operations;
10
11 import java.util.Set;
12 import org.opendaylight.controller.config.util.capability.Capability;
13 import org.opendaylight.netconf.impl.SessionIdProvider;
14 import org.opendaylight.netconf.mapping.api.NetconfOperationService;
15
16 /**
17  * Creator which enables testtool users to inject own.
18  * implementation of {@link NetconfOperationService}
19  */
20 public interface OperationsCreator {
21
22     /**
23      * Creates instance of {@link NetconfOperationService} based on caller context.
24      * @param capabilities
25      *   Model capabilities.
26      * @param idProvider
27      *   Provider's session context.
28      * @param netconfSessionIdForReporting
29      *   Netconf SessionId for reporting
30      * @return
31      *   Instance of {@link NetconfOperationService}.
32      */
33     NetconfOperationService getNetconfOperationService(Set<Capability> capabilities,
34         SessionIdProvider idProvider,
35         String netconfSessionIdForReporting);
36
37 }