Initial code drop of netconf protocol implementation
[controller.git] / opendaylight / netconf / netconf-mapping-api / src / main / java / org / opendaylight / controller / netconf / mapping / api / Capability.java
1 /*
2  * Copyright (c) 2013 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.controller.netconf.mapping.api;
10
11 import com.google.common.base.Optional;
12
13 /**
14  * Contains capability URI announced by server hello message and optionally its
15  * corresponding yang schema that can be retrieved by get-schema rpc.
16  */
17 public interface Capability {
18
19     public String getCapabilityUri();
20
21     public Optional<String> getModuleName();
22
23     public Optional<String> getRevision();
24
25     public Optional<String> getCapabilitySchema();
26 }