f9288abe2a647f71ce403dd3c35116f372c6ca77
[controller.git] / opendaylight / config / config-util / src / main / java / org / opendaylight / controller / config / util / capability / Capability.java
1 /*
2  * Copyright (c) 2015 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.config.util.capability;
10
11 import com.google.common.base.Optional;
12 import java.util.Collection;
13
14 /**
15  * Contains capability URI announced by server hello message and optionally its
16  * corresponding yang schema that can be retrieved by get-schema rpc.
17  */
18 // TODO this should be placed into API bundle for netconf
19 public interface Capability {
20
21     public String getCapabilityUri();
22
23     public Optional<String> getModuleNamespace();
24
25     public Optional<String> getModuleName();
26
27     public Optional<String> getRevision();
28
29     public Optional<String> getCapabilitySchema();
30
31     public Collection<String> getLocation();
32 }

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.