blob: b08dcc7affa565c976c9aef845ecc36e005935e9 [file] [log] [blame]
/*******************************************************************************
* Copyright (C) 2008, Robin Rosenberg <robin.rosenberg@dewire.com>
* Copyright (C) 2007, Shawn O. Pearce <spearce@spearce.org>
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*******************************************************************************/
package org.eclipse.egit.core;
import org.eclipse.team.core.history.ITag;
/**
* A representation of a Git tag in Eclipse.
*/
public class GitTag implements ITag {
private String name;
/**
* Construct a GitTag object with a given name.
*
* @param name the Git tag name
*/
public GitTag(String name) {
this.name = name;
}
@Override
public String getName() {
return name;
}
}