Javadoc update for Egit
[egit.git] / org.spearce.egit.core / src / org / spearce / egit / core / GitTag.java
blob99d57f106441180996381d37e55cba0f89b8cb4a
1 /*
2 * Copyright (C) 2006 Robin Rosenberg
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License, version 2.1, as published by the Free Software Foundation.
8 * This library is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * Lesser General Public License for more details.
13 * You should have received a copy of the GNU Lesser General Public
14 * License along with this library; if not, write to the Free Software
15 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
17 package org.spearce.egit.core;
19 import org.eclipse.team.core.history.ITag;
21 /**
22 * A representation of a Git tag in Eclipse.
24 public class GitTag implements ITag {
26 private String name;
28 /**
29 * Construct a GitTag object with a given name.
31 * @param name the Git tag name
33 public GitTag(String name) {
34 this.name = name;
37 public String getName() {
38 return name;