Fix findbug and checkstyle issues
[bgpcep.git] / bgp / path-selection-mode / src / main / java / org / opendaylight / protocol / bgp / mode / api / BestPath.java
1 /*
2  * Copyright (c) 2016 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.protocol.bgp.mode.api;
10
11 import com.google.common.primitives.UnsignedInteger;
12 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.rev171207.PeerId;
13 import org.opendaylight.yangtools.yang.data.api.schema.ContainerNode;
14
15 public interface BestPath {
16
17     /**
18      * RouterId.
19      *
20      * @return the routerId (UnsignedInteger)
21      */
22     UnsignedInteger getRouterId();
23
24     /**
25      * PeerId.
26      *
27      * @return the routerId (UnsignedInteger) converted to a PeerId
28      */
29     PeerId getPeerId();
30
31     /**
32      * Attributes.
33      *
34      * @return the path attributes
35      */
36     ContainerNode getAttributes();
37
38     /**
39      * PathId.
40      *
41      * @return pathId
42      */
43     long getPathId();
44 }