/*
 * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
 * and is available at http://www.eclipse.org/legal/epl-v10.html
 */

package org.opendaylight.controller.netconf.mapping.api;

import com.google.common.base.Optional;

import java.util.List;

/**
 * Contains capability URI announced by server hello message and optionally its
 * corresponding yang schema that can be retrieved by get-schema rpc.
 */
public interface Capability {

    public String getCapabilityUri();

    public Optional<String> getModuleNamespace();

    public Optional<String> getModuleName();

    public Optional<String> getRevision();

    public Optional<String> getCapabilitySchema();

    public Optional<List<String>> getLocation();
}

/*
 * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
 * and is available at http://www.eclipse.org/legal/epl-v10.html
 */

package org.opendaylight.controller.netconf.mapping.api;

import com.google.common.base.Optional;
import java.util.List;

/**
 * Contains capability URI announced by server hello message and optionally its
 * corresponding yang schema that can be retrieved by get-schema rpc.
 */
public interface Capability {

    public String getCapabilityUri();

    public Optional<String> getModuleNamespace();

    public Optional<String> getModuleName();

    public Optional<String> getRevision();

    public Optional<String> getCapabilitySchema();

    public Optional<List<String>> getLocation();
}

Fix checkstyle warnings in netconf-mapping-api.
Fix checkstyle warnings in netconf-mapping-api.

Change-Id: Ic0e339063aa79bc0c0338c33486e43fcdd29ef56
Signed-off-by: Marian Dubai <cea8f5d408a6d9ff5b3cceec2a764cb46df038f1@cisco.com>
