/*
 * 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.