Improve error reporting in the branch dialog
[egit/imyousuf.git] / org.spearce.egit.core / src / org / spearce / egit / core / GitTag.java
blobdcdc5519f183f30222f9598b66a719e6b2ccb6f6
1 /*******************************************************************************
2 * Copyright (C) 2008, Robin Rosenberg <robin.rosenberg@dewire.com>
3 * Copyright (C) 2007, Shawn O. Pearce <spearce@spearce.org>
5 * All rights reserved. This program and the accompanying materials
6 * are made available under the terms of the Eclipse Public License v1.0
7 * See LICENSE for the full license text, also available.
8 *******************************************************************************/
9 package org.spearce.egit.core;
11 import org.eclipse.team.core.history.ITag;
13 /**
14 * A representation of a Git tag in Eclipse.
16 public class GitTag implements ITag {
18 private String name;
20 /**
21 * Construct a GitTag object with a given name.
23 * @param name the Git tag name
25 public GitTag(String name) {
26 this.name = name;
29 public String getName() {
30 return name;