1 /* 2 * Copyright (C) 2008, Shawn O. Pearce <spearce@spearce.org> and others 3 * 4 * This program and the accompanying materials are made available under the 5 * terms of the Eclipse Distribution License v. 1.0 which is available at 6 * https://www.eclipse.org/org/documents/edl-v10.php. 7 * 8 * SPDX-License-Identifier: BSD-3-Clause 9 */ 10 11 package org.eclipse.jgit.revplot; 12 13 import java.io.Serializable; 14 15 /** 16 * A line space within the graph. 17 * <p> 18 * Commits are strung onto a lane. For many UIs a lane represents a column. 19 */ 20 public class PlotLane implements Serializable { 21 private static final long serialVersionUID = 1L; 22 23 int position; 24 25 /** 26 * Logical location of this lane within the graphing plane. 27 * 28 * @return location of this lane, 0 through the maximum number of lanes. 29 */ 30 public int getPosition() { 31 return position; 32 } 33 }