PCE update to support constraints
[transportpce.git] / pce / src / main / java / org / opendaylight / transportpce / pce / graph / PceGraphEdge.java
1 /*
2  * Copyright © 2017 AT&T, 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 package org.opendaylight.transportpce.pce.graph;
9
10 import org.jgrapht.graph.DefaultWeightedEdge;
11 import org.opendaylight.transportpce.pce.networkanalyzer.PceLink;
12
13 public class PceGraphEdge extends DefaultWeightedEdge {
14
15     private static final long serialVersionUID = 1L;
16     private PceLink link;
17
18     public PceGraphEdge(PceLink link) {
19         super();
20         this.link = link;
21     }
22
23     public PceLink link() {
24         return link;
25     }
26
27 }