Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: b08dcc7affa565c976c9aef845ecc36e005935e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*******************************************************************************
 * 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;
	}

}

Back to the top